Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit da1ed07

Browse files
authored
Pages (#21)
* add branch * try custom token End my suffering * v4 * add permissions * wrong token * content write * idk i give up * try move shit * conc * mv * another deploy try * seperate build
1 parent 3aa8391 commit da1ed07

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/cd.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ permissions:
1212
jobs:
1313
deploy:
1414
runs-on: ubuntu-22.04
15-
permissions:
16-
contents: write
1715
concurrency:
1816
group: ${{ github.workflow }}-${{ github.ref }}
1917

@@ -22,19 +20,16 @@ jobs:
2220

2321
- uses: actions/setup-node@v4
2422
with:
25-
node-version: "latest"
23+
node-version: "23.3"
2624

27-
- name: Install dependencies
28-
run: npm install
25+
- name: Install
26+
run: npm ci
2927

3028
- name: Build
3129
run: npm run build
3230

33-
- name: Move files
34-
run: mv ./dist/* ./public/
35-
3631
- name: Deploy
37-
uses: peaceiris/actions-gh-pages@v4
38-
if: github.ref == 'refs/heads/main'
32+
uses: JamesIves/github-pages-deploy-action@v4
3933
with:
40-
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
folder: dist
35+
branch: gh-pages

0 commit comments

Comments
 (0)