Skip to content

Commit

Permalink
Update wasm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ehassaan authored Nov 3, 2024
1 parent e8c326a commit 315e054
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/wasm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: Publish-VSCode
name: Publish-Wasm

on:
workflow_dispatch:
Expand All @@ -10,8 +10,6 @@ on:
jobs:
build-and-publish:
runs-on: ubuntu-latest
env:
VSCE_PAT: ${{ secrets.VSCODE_MARKETPLACE_PAT }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -23,10 +21,12 @@ jobs:
pnpm install
pnpm run build
- uses: jsmrcaga/[email protected]
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.DUCKLAB_NETLIFY }}
NETLIFY_DEPLOY_TO_PROD: true
build_directory: ./dist


publish-dir: './wasm/dist'
production-branch: main
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.DUCKLAB_NETLIFY_PAT }}
NETLIFY_SITE_ID: ${{ secrets.DUCKLAB_NETLIFY_SITE_ID }}
timeout-minutes: 1

0 comments on commit 315e054

Please sign in to comment.