Skip to content

Commit cfb6f1b

Browse files
Update static.yml
1 parent 341bc47 commit cfb6f1b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/static.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ jobs:
88
permissions:
99
pages: write
1010
id-token: write
11+
environment:
12+
name: github-pages
13+
url: ${{ steps.deployment.outputs.page_url }}
1114
steps:
1215
- uses: actions/checkout@v3
1316
- uses: actions/setup-node@v3
1417
with:
1518
node-version: 18
1619
- run: npm install
1720
- run: npm run build
18-
- uses: actions/upload-pages-artifact@v1
21+
- uses: actions/upload-pages-artifact@v2
1922
with:
2023
path: dist
21-
- uses: actions/deploy-pages@v1
24+
- name: Deploy to GitHub Pages
25+
id: deployment
26+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)