Skip to content

wip: 🔕 temporary commit #2

wip: 🔕 temporary commit

wip: 🔕 temporary commit #2

Workflow file for this run

name: site
on:
workflow_dispatch: {}
push:
branches: [rewrite] #master, main] # TODO: uncomment
tags-ignore: ['**']
paths: [site/**, .github/workflows/site.yml]
concurrency:
group: ${{ github.ref }}-gh
cancel-in-progress: true
jobs:
publish:
name: Publish the site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_DEPLOY_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: random-user-agent-index
directory: ./site
branch: main # aka CF "production" environment
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
wranglerVersion: '3' # enable Wrangler v3