Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
parent
f019d1951a
commit
454dbc522b
|
@ -58,7 +58,6 @@ jobs:
|
|||
id: deploy_site
|
||||
if: ${{ ! forge.event.pull_request.head.repo.fork }}
|
||||
run: |
|
||||
echo '${{ toJson(forge.event.pull_request.head.repo) }}'
|
||||
if [ "${{ forge.ref }}" = 'refs/heads/main' ]; then
|
||||
WEB_ROOT="${WEB_DIR}/live"
|
||||
WEB_VHOST="home.of.${WEB_DOMAIN}"
|
||||
|
@ -81,7 +80,7 @@ jobs:
|
|||
./_site/ "${WEB_USER}@${WEB_HOST}:${WEB_ROOT}${WEB_CONTEXT}"
|
||||
- name: Comment pull request
|
||||
id: comment_pull_request
|
||||
if: ${{ always() && forge.event_name == 'pull_request' && forge.repository == 'Tahoe-LAFS/web-landing-page' }}
|
||||
if: ${{ always() && forge.event_name == 'pull_request' && ! forge.event.pull_request.head.repo.fork }}
|
||||
uses: https://github.com/exercism/pr-commenter-action@v1.5.1
|
||||
with:
|
||||
template-variables: |
|
||||
|
|
Loading…
Reference in a new issue