meta/.github/workflows/deploy-master-to-prod.yml
Alexander Borsuk 7c3947d978 Upgrade to Wrangler 2
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-11-23 07:48:08 +02:00

19 lines
461 B
YAML

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