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
|
# run: npx playwright test
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
- name: Create tarball
|
# - name: Create tarball
|
||||||
run: tar czf webflasher.tgz --strip-components=1 dist
|
# run: tar czf webflasher.tgz --strip-components=1 dist
|
||||||
- name: Upload artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: 'github-pages'
|
# this should match the `pages` option in your adapter-static options
|
||||||
path: |
|
path: 'dist/'
|
||||||
webflasher.tgz
|
|
||||||
deploy:
|
deploy:
|
||||||
# Add a dependency to the build job
|
# Add a dependency to the build job
|
||||||
needs: build
|
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