Skip to content

Deploy

Deploy #46441

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
workflow_run:
workflows: [Audit Links, External Sync]
types:
- completed
jobs:
build:
runs-on: ubuntu-24.04
permissions:
deployments: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v2.x
- name: Setup Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: "3.11.0"
cache: 'pip'
- name: Generate metadata and deploy site
run: deno task deploy
- name: Publish to Bunny Edge CDN
uses: ayeressian/[email protected]
with:
source: "_site"
storageZoneName: utf9k
storagePassword: "${{ secrets.BUNNY_STORAGE_PASSWORD }}"
accessKey: "${{ secrets.BUNNY_GLOBAL_API_KEY }}"
pullZoneId: "${{ secrets.BUNNY_PULL_ZONE_ID }}"
upload: "true"
purgePullZone: "true"