diff --git a/.forgejo/workflows/jekyll.yaml b/.forgejo/workflows/jekyll.yaml index cf58ab0..683012e 100644 --- a/.forgejo/workflows/jekyll.yaml +++ b/.forgejo/workflows/jekyll.yaml @@ -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: |