File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 11name : Update Release Index
22
33on :
4- push :
5- branches :
6- - ' CR-*'
7- paths :
8- - ' .github/workflows/release-index.yaml'
9- - ' .github/scripts/release-index/**'
104 release :
115 types : [published, edited]
126 workflow_dispatch :
13- schedule :
14- - cron : " 0 */6 * * *"
157
168concurrency :
179 group : release-index
4234 - name : Build Release Index
4335 working-directory : .github/scripts/release-index
4436 env :
45- GITHUB_TOKEN : ${{ secrets.TOKEN_GITHUB }}
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4638 run : node build-releases.js
4739 timeout-minutes : 2
4840
@@ -55,18 +47,11 @@ jobs:
5547 fi
5648 echo "✓ Release index generated successfully"
5749
58- - name : Upload artifact
59- uses : actions/upload-artifact@v4
60- with :
61- name : release-index
62- path : .github/scripts/release-index/releases/releases.json
63- retention-days : 30
64-
6550 - name : Deploy to GitHub Pages
6651 uses : peaceiris/actions-gh-pages@v4
6752 if : success()
6853 with :
69- github_token : ${{ secrets.TOKEN_GITHUB }}
54+ github_token : ${{ secrets.GITHUB_TOKEN }}
7055 publish_dir : .github/scripts/release-index/releases
7156 publish_branch : gh-pages
7257 user_name : " github-actions[bot]"
You can’t perform that action at this time.
0 commit comments