Skip to content

refactor(ci): extract reusable workflow for deployment #43

refactor(ci): extract reusable workflow for deployment

refactor(ci): extract reusable workflow for deployment #43

name: Build and Deploy
permissions:
contents: read
pull-requests: write
on:
pull_request:
branches:
- master
types:
- opened
- synchronize
push:
branches:
- master
concurrency:
group: build-and-deploy-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
uses: Perdolique/.github/.github/workflows/deploy.yml@master
secrets:
cloudflare-account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}