chore: format wasmer deploy
output as json
#5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy docs.wasmer.io | |
on: | |
push: | |
branches: ["main", "publish-via-ci"] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm run build | |
- name: Setup Wasmer | |
uses: wasmerio/setup-wasmer@v2 | |
- name: Deploy app | |
run: wasmer deploy --registry wasmer.io --bump --non-interactive -f json | |
env: | |
WASMER_TOKEN: ${{ secrets.WASMER_CIUSER_PROD_TOKEN }} | |