meta/.github/workflows/deploy-master-to-prod.yml
Alexander Borsuk 28ad2631bf Initial commit
2021-06-18 22:38:16 +02:00

20 lines
462 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@1.3.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
environment: prod
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
# TODO: Add organicmaps deploy.