Skip to content

Wrangler: Prepare the deploy to v3-12.rabbitmq.com #2

Wrangler: Prepare the deploy to v3-12.rabbitmq.com

Wrangler: Prepare the deploy to v3-12.rabbitmq.com #2

name: Publish website - 3.12
on:
push:
branches:
- v3.12.x
workflow_dispatch:
jobs:
website:
runs-on: ubuntu-22.04
container:
image: pivotalrabbitmq/website-packaging
steps:
- uses: actions/checkout@v4
- name: Generate website
id: generate
run: |
mkdir generated
./generate ./generated www
cp "conf/robots.txt-next" ./generated/robots.txt
mkdir -p ci/worker/public
cp -r ./generated/* ci/worker/public/
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: ci/worker