Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit fb74ff5

Browse files
committed
fix: workflow syntax and remove search step
1 parent b9f2686 commit fb74ff5

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,13 @@ jobs:
1616
uses: actions/setup-node@v4
1717
with:
1818
node-version: '20'
19-
cache: 'npm'
2019

2120
- name: Install dependencies
2221
run: npm install
2322

2423
- name: Build with domstack
2524
run: npm run build
2625

27-
- name: Setup codebasesearch index
28-
run: npm run search
29-
continue-on-error: true
30-
3126
- name: Upload artifacts
3227
uses: actions/upload-artifact@v4
3328
with:
@@ -38,16 +33,16 @@ jobs:
3833
needs: build
3934
if: github.ref == 'refs/heads/main'
4035
runs-on: ubuntu-latest
36+
permissions:
37+
contents: write
4138
steps:
42-
- uses: actions/checkout@v4
43-
4439
- name: Download artifacts
4540
uses: actions/download-artifact@v4
4641
with:
4742
name: public
4843

4944
- name: Deploy to GitHub Pages
50-
uses: peaceiris/actions-gh-pages@v3
45+
uses: peaceiris/actions-gh-pages@v4
5146
with:
5247
github_token: ${{ secrets.GITHUB_TOKEN }}
5348
publish_dir: ./public

0 commit comments

Comments
 (0)