Skip to content

Commit 513dc59

Browse files
committed
update GitHub Actions workflow to use actions/upload-pages-artifact@v2
1 parent f31cd17 commit 513dc59

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
1-
# Simple workflow for deploying static content to GitHub Pages
21
name: Deploy static content to Pages
32

43
on:
5-
# Runs on pushes targeting the default branch
64
push:
75
branches: ['main']
86

9-
# Allows you to run this workflow manually from the Actions tab
107
workflow_dispatch:
118

12-
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
139
permissions:
1410
contents: read
1511
pages: write
1612
id-token: write
1713

18-
# Allow one concurrent deployment
1914
concurrency:
2015
group: 'pages'
2116
cancel-in-progress: true
2217

2318
jobs:
24-
# Single deploy job since we're just deploying
2519
deploy:
2620
environment:
2721
name: github-pages
@@ -42,9 +36,8 @@ jobs:
4236
- name: Setup Pages
4337
uses: actions/configure-pages@v3
4438
- name: Upload artifact
45-
uses: actions/upload-pages-artifact@v2
39+
uses: actions/upload-pages-artifact@v3
4640
with:
47-
# Upload dist repository
4841
path: './dist'
4942
- name: Deploy to GitHub Pages
5043
id: deployment

0 commit comments

Comments
 (0)