Skip to content

Commit 73951c7

Browse files
committed
Fix Publish docs workflow not committing
Fixes workflow to make sure it still publishes for the official atomvm/AtomVM repo. Signed-off-by: Winford <[email protected]>
1 parent 8473d01 commit 73951c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
make GitHub_CI_Publish_Docs
9595
9696
- name: Commit files
97-
if: ${{ vars.GITHUB_REPOSITORY == 'atomvm/AtomVM' }}
97+
if: github.repository == 'atomvm/AtomVM'
9898
working-directory: /home/runner/work/AtomVM/AtomVM/www
9999
run: |
100100
git checkout Production
@@ -103,7 +103,7 @@ jobs:
103103
git add .
104104
git commit -m "Update Documentation"
105105
- name: Push changes
106-
if: ${{ vars.GITHUB_REPOSITORY == 'atomvm/AtomVM' }}
106+
if: github.repository == 'atomvm/AtomVM'
107107
working-directory: /home/runner/work/AtomVM/AtomVM/www
108108
run: |
109109
eval `ssh-agent -t 60 -s`

0 commit comments

Comments
 (0)