Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
champierre committed Jul 17, 2024
1 parent fdd5b55 commit ef56193
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,35 @@ on:
jobs:
build-deploy:
runs-on: ubuntu-latest

permissions:
contents: read
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
repository: LLK/scratch-gui
ref: v3.6.18
- run: npm install
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: ./handpose2scratch
- run: sh ./handpose2scratch/install.sh

- run: npm run build
- uses: peaceiris/actions-gh-pages@v3

- uses: actions/configure-pages@v4

- uses: actions/upload-pages-artifact@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./build
path: build

- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
1 change: 0 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ EXTENSION_NAME=Handpose2Scratch
EXTENSION_ID=handpose2scratch

cd node_modules/scratch-vm
npm install ml5@0.12.2
cd ../../

mkdir -p node_modules/scratch-vm/src/extensions/scratch3_${EXTENSION_ID}
Expand Down

0 comments on commit ef56193

Please sign in to comment.