Use upload-pages-artifact
This commit is contained in:
parent
482b6250e3
commit
64651b4993
6 changed files with 7 additions and 7 deletions
14
.github/workflows/workflow.yml
vendored
14
.github/workflows/workflow.yml
vendored
|
@ -54,14 +54,14 @@ jobs:
|
|||
# run: npx playwright test
|
||||
- name: Build
|
||||
run: yarn build
|
||||
- name: Create tarball
|
||||
run: tar czf webflasher.tgz --strip-components=1 dist
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
# - name: Create tarball
|
||||
# run: tar czf webflasher.tgz --strip-components=1 dist
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
name: 'github-pages'
|
||||
path: |
|
||||
webflasher.tgz
|
||||
# this should match the `pages` option in your adapter-static options
|
||||
path: 'dist/'
|
||||
|
||||
deploy:
|
||||
# Add a dependency to the build job
|
||||
needs: build
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue