meta/.github/workflows/deploy-master-to-prod.yml
2024-12-23 17:25:08 +00:00

20 lines
486 B
YAML

name: Deploy master into production on push
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- name: wrangler publish
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
environment: prod
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
# TODO: Add organicmaps deploy.