Skip to content

Commit

Permalink
Update gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
axxel authored Jul 5, 2023
1 parent ec7187c commit f106438
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,18 @@ jobs:
- name: Build
run: cmake --build build -j4

# - name: Upload artifact
# uses: actions/upload-pages-artifact@v1
# with:
# path: '.'

- uses: actions/upload-artifact@v3
- name: Prepare Archive
shell: sh
run: |
mkdir pages
mv build/zxing* build/demo* pages
ls pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
name: wasm-artifacts
path: |
build/zxing*
build/demo*
path: 'pages'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
with:
artifact_name: wasm-artifacts

0 comments on commit f106438

Please sign in to comment.