Skip to content

Commit 1ff4ae1

Browse files
committed
remade it
1 parent fad8fb4 commit 1ff4ae1

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/deploy-build.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Deploy static to Pages
1+
name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: ['main']
5+
branches: [main]
66
workflow_dispatch:
77

88
permissions:
@@ -11,35 +11,35 @@ permissions:
1111
id-token: write
1212

1313
concurrency:
14-
group: 'pages'
15-
cancel-in-progress: false
14+
group: "pages"
15+
cancel-in-progress: true
1616

1717
jobs:
18-
build:
18+
build-and-deploy:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- name: Checkout
21+
- name: Checkout your repo uwu
2222
uses: actions/checkout@v4
23-
- name: Set up Node
24-
uses: actions/setup-node@v4
25-
with:
26-
node-version: 20
27-
cache: 'pnpm'
28-
- name: Set up pnpm
29-
uses: pnpm/action-setup@v3
23+
24+
- name: Install pnpm first :3
25+
uses: pnpm/action-setup@v4
3026
with:
31-
version: 8
27+
version: 10
28+
3229
- name: Install dependencies
33-
run: pnpm install
34-
- name: Build
30+
run: pnpm install --frozen-lockfile
31+
32+
- name: Build the site
3533
run: pnpm run build
36-
- name: Setup Pages
34+
35+
- name: Setup GitHub Pages
3736
uses: actions/configure-pages@v5
38-
- name: Upload artifact
37+
38+
- name: Upload build artifact
3939
uses: actions/upload-pages-artifact@v3
4040
with:
41-
# Upload dist folder
42-
path: './dist'
41+
path: ./dist
42+
4343
- name: Deploy to GitHub Pages
4444
id: deployment
45-
uses: actions/deploy-pages@v4
45+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)