chore(deps): bump netlink-packet-sock-diag from 0.4.2 to 0.5.0 #222
Workflow file for this run
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 site | |
| on: | |
| push: | |
| branches: [master] | |
| paths: [site/**, llms.txt, Cargo.toml, scripts/site/build.mjs, .github/workflows/site.yml] | |
| pull_request: | |
| paths: [site/**, llms.txt, Cargo.toml, scripts/site/build.mjs, .github/workflows/site.yml] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Build worker from source | |
| steps: | |
| - uses: actions/checkout@v7 | |
| # build.mjs injects the Cargo.toml version + build date into the source | |
| # documents and embeds them into the worker template. It throws on an | |
| # unresolved placeholder or an empty document, so this job is the | |
| # pre-deploy validation: a bad build fails here, never on the edge. | |
| - name: Generate and validate worker.generated.ts | |
| run: node scripts/site/build.mjs | |
| deploy: | |
| runs-on: ubuntu-latest | |
| name: Deploy to Bunny Edge Scripting | |
| needs: build | |
| if: github.event_name == 'push' | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Generate worker.generated.ts from source | |
| run: node scripts/site/build.mjs | |
| - uses: BunnyWay/actions/deploy-script@main | |
| with: | |
| script_id: ${{ vars.BUNNY_SCRIPT_ID }} | |
| deploy_key: ${{ secrets.BUNNY_DEPLOY_KEY }} | |
| file: site/worker.generated.ts |