File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 7171
7272 - uses : actions/checkout@v3
7373 with :
74- repository : atomvm/AtomVM
74+ repository : ${{ vars.GITHUB_REPOSITORY }}
7575 fetch-depth : 0
7676
7777 - uses : actions/checkout@v3
8484 - name : Build Site
8585 run : |
8686 . /home/runner/python-env/sphinx/bin/activate
87- for remote in `git branch -r | grep -v /HEAD | grep -v ${{ github.ref_name }}`; do git checkout --track $remote; done
87+ for remote in `git branch -r | grep -v " /HEAD\| ${{ github.ref_name }}" `; do git checkout --track $remote; done
8888 git switch ${{ github.ref_name }}
8989 git branch
9090 mkdir build
9494 make GitHub_CI_Publish_Docs
9595
9696 - name : Commit files
97+ if : ${{ vars.GITHUB_REPOSITORY == 'atomvm/AtomVM' }}
9798 working-directory : /home/runner/work/AtomVM/AtomVM/www
9899 run : |
99100 git checkout Production
@@ -102,6 +103,7 @@ jobs:
102103 git add .
103104 git commit -m "Update Documentation"
104105 - name : Push changes
106+ if : ${{ vars.GITHUB_REPOSITORY == 'atomvm/AtomVM' }}
105107 working-directory : /home/runner/work/AtomVM/AtomVM/www
106108 run : |
107109 eval `ssh-agent -t 60 -s`
You can’t perform that action at this time.
0 commit comments