Skip to content

Commit 727c7f6

Browse files
authored
Merge pull request atomvm#528 from UncleGrumpy/publish_docs
Fix Publish docs workflow not committing
2 parents 8473d01 + 73951c7 commit 727c7f6

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)