Skip to content

Commit eaa7b5f

Browse files
chore: removing unused triggers and artifact upload step release index workflow
1 parent 108fafb commit eaa7b5f

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/release-index.yaml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
name: Update Release Index
22

33
on:
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

168
concurrency:
179
group: release-index
@@ -42,7 +34,7 @@ jobs:
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]"

0 commit comments

Comments
 (0)