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