Skip to content

Commit d69b341

Browse files
committed
Artifacts
1 parent a701cb6 commit d69b341

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/deploy.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
jobs:
24-
build_and_deploy:
24+
build:
2525
runs-on: [ubuntu-latest]
2626
steps:
2727
- uses: actions/checkout@v2
@@ -39,7 +39,15 @@ jobs:
3939
run: |
4040
npm run svg
4141
node ./src/functions/ssr.js
42-
- name: Deploy 🚀
43-
uses: JamesIves/github-pages-deploy-action@v4
42+
deploy:
43+
needs: build
44+
runs-on: [ubuntu-latest]
45+
steps:
46+
- name: Upload artifact
47+
uses: actions/upload-pages-artifact@v1
4448
with:
45-
folder: public # The folder the action should deploy.
49+
# Upload entire repository
50+
path: "./public/"
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)