Skip to content

chore(docs): Add install to the examples workflow (#7) #33

chore(docs): Add install to the examples workflow (#7)

chore(docs): Add install to the examples workflow (#7) #33

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
timeout-minutes: 10
environment:
name: pyoci
url: https://pyoci.allexveldman.com
steps:
- uses: extractions/setup-just@v2
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
examples:
name: Examples
needs: [deploy]
uses: ./.github/workflows/examples.yaml
permissions:
packages: write
contents: read