We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450d672 commit aee850dCopy full SHA for aee850d
.github/workflows/deploy.yml
@@ -7,6 +7,7 @@ on:
7
8
permissions:
9
contents: write
10
+
11
jobs:
12
build:
13
runs-on: ubuntu-latest
@@ -15,15 +16,21 @@ jobs:
15
16
uses: actions/checkout@v4
17
18
- name: Upload artifact
- uses: actions/upload-pages-artifact@v2
19
+ uses: actions/upload-artifact@v4
20
with:
21
path: ./public # This is your static site folder
22
deploy:
23
24
+ needs: build
25
steps:
26
- name: Checkout
27
28
29
+ - name: Download artifact
30
+ uses: actions/download-artifact@v4
31
+ with:
32
+ name: public
33
+ path: ./public
34
- name: Deploy
35
uses: peaceiris/actions-gh-pages@v4
36
if: github.ref == 'refs/heads/master'
0 commit comments