Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
parent
6be872c78b
commit
f019d1951a
|
@ -56,9 +56,9 @@ jobs:
|
|||
jekyll build --verbose
|
||||
- name: Deploy Jekyll site
|
||||
id: deploy_site
|
||||
if: ${{ ! forge.pull_request.head.repo.fork }}
|
||||
if: ${{ ! forge.event.pull_request.head.repo.fork }}
|
||||
run: |
|
||||
echo '${{ toJson(forge.pull_request.head.repo) }}'
|
||||
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}"
|
||||
|
|
|
@ -12,7 +12,7 @@ env:
|
|||
WEB_CONTEXT: "/${{ forge.event.pull_request.number }}/"
|
||||
jobs:
|
||||
jekyll_cleanup:
|
||||
if: ${{ ! forge.pull_request.head.repo.fork }}
|
||||
if: ${{ ! forge.event.pull_request.head.repo.fork }}
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
pull-requests: read
|
||||
|
|
Loading…
Reference in a new issue