File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 branches : ["master"]
77
88permissions :
9- contents : write
109 pages : write
1110 id-token : write
1211
1312jobs :
14- # Page Build Job
15- build :
16- runs-on : ubuntu-latest
17- steps :
18- - uses : actions/checkout@v4
19-
20- - name : Run Img Generator Script
21- run : python3 ./.github/scripts/imgListGenerator.py
22-
23- - name : Check For Changes
24- id : check_changes
25- run : |
26- if [[ -n "$(git diff --exit-code)" ]]; then
27- echo "Changes detected."
28- echo "has_changes=true" >> $GITHUB_OUTPUT
29- else
30- echo "No changes detected."
31- echo "has_changes=false" >> $GITHUB_OUTPUT
32- fi
33-
34- - name : Push Changes
35- if : steps.check_changes.outputs.has_changes == 'true'
36- run : |
37- git config --global user.name "${{github.actor}}"
38- git config --global user.email "${{github.actor}}@users.noreply.github.com"
39-
40- git add .
41- git commit -m "GalleryList.json Auto-Generate Job"
42- git push
43-
4413 # Page Deployment Job
4514 deploy :
46- needs : build
4715 environment :
4816 name : github-pages
4917 url : ${{ steps.deployment.outputs.page_url }}
You can’t perform that action at this time.
0 commit comments