Update runtime.mdx #16
This file contains hidden or 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"] | |
| 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 | |
| with: | |
| version: v5.0.5-rc1 | |
| - name: Deploy app | |
| run: wasmer deploy --registry wasmer.io --bump | |
| env: | |
| WASMER_TOKEN: ${{ secrets.WASMER_CIUSER_PROD_TOKEN }} | |