Skip to content

Commit c785af6

Browse files
Update deploy.yml
1 parent 20367f3 commit c785af6

1 file changed

Lines changed: 31 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,40 @@ permissions:
1111
pages: write
1212
id-token: write
1313

14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
# jobs:
19+
# deploy:
20+
# runs-on: ubuntu-latest
21+
# steps:
22+
# - name: Download artifact
23+
# uses: actions/download-artifact@v4
24+
# with:
25+
# name: github-pages
26+
# path: ./
27+
28+
# - name: Deploy to GitHub Pages
29+
# uses: actions/deploy-pages@v1
30+
1431
jobs:
32+
# Single deploy job since we're just deploying
1533
deploy:
34+
environment:
35+
name: github-pages
36+
url: ${{ steps.deployment.outputs.page_url }}
1637
runs-on: ubuntu-latest
1738
steps:
18-
- name: Download artifact
19-
uses: actions/download-artifact@v4
39+
- name: Checkout
40+
uses: actions/checkout@v4
41+
- name: Setup Pages
42+
uses: actions/configure-pages@v5
43+
- name: Upload artifact
44+
uses: actions/upload-pages-artifact@v3
2045
with:
21-
name: github-pages
22-
path: ./
23-
46+
# Upload entire repository
47+
path: '.'
2448
- name: Deploy to GitHub Pages
25-
uses: actions/deploy-pages@v1
49+
id: deployment
50+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)