Use upload-pages-artifact

This commit is contained in:
Djuri Baars 2024-03-30 15:42:46 +01:00
parent 482b6250e3
commit 64651b4993
6 changed files with 7 additions and 7 deletions

View file

@ -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