Skip to content

Merge pull request #5 from deriv-com/mayuran/pdf-update-prospectus #17

Merge pull request #5 from deriv-com/mayuran/pdf-update-prospectus

Merge pull request #5 from deriv-com/mayuran/pdf-update-prospectus #17

name: Production Release
on:
push:
branches:
- master
paths-ignore:
- '**.md'
jobs:
release-production:
timeout-minutes: 40
runs-on: Ubuntu-latest
environment: production
steps:
- name: Checkout 🛎️
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
# For using same tag for staging and production we need to uncomment these two below lines:
# with:
# tagRegex: "production(.*)"
- name: Deploy to Cloudflare ☁️
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy src --project-name=docs-deriv-com --branch=main
- name: Cloudflare production link ✨
run: echo "New website - docs-deriv-com.pages.dev"