File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7+ paths-ignore :
8+ - ' docs/feed.xml'
9+ - ' docs/sitemap.xml'
710 workflow_dispatch :
811
912jobs :
@@ -12,17 +15,21 @@ jobs:
1215
1316 steps :
1417 - uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+ ref : ${{ github.head_ref }}
1521
1622 - name : Install Pandoc
1723 run :
1824 sudo apt-get install -y pandoc
1925
2026 - name : Build RSS
21- run :
27+ run : |
28+ git -C ${{ github.workspace }} pull --rebase
2229 ./rss.sh
2330 working-directory : docs/
2431
2532 - name : Commit Updated
26- uses : stefanzweifel/git-auto-commit-action@v4
33+ uses : stefanzweifel/git-auto-commit-action@v5
2734 with :
2835 commit_message : Build feed.xml
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7+ paths-ignore :
8+ - ' docs/feed.xml'
9+ - ' docs/sitemap.xml'
710 workflow_dispatch :
811
912jobs :
@@ -12,13 +15,17 @@ jobs:
1215
1316 steps :
1417 - uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+ ref : ${{ github.head_ref }}
1521
1622 - name : Build Sitemap
17- run :
23+ run : |
24+ git -C ${{ github.workspace }} pull --rebase
1825 ./sitemap.sh
1926 working-directory : docs/
2027
2128 - name : Commit Updated
22- uses : stefanzweifel/git-auto-commit-action@v4
29+ uses : stefanzweifel/git-auto-commit-action@v5
2330 with :
2431 commit_message : Build sitemap.xml
You can’t perform that action at this time.
0 commit comments