Skip to content

feat: trigger build

feat: trigger build #2

Workflow file for this run

on:
push:
branches:
- main
name: Release
jobs:
release-staging:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
- name: Deploy to Staging
uses: cloudflare/[email protected]
with:
apiToken: ${{secrets.CF_TOKEN }}
environment: 'carpark-staging'
release-production:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: public-r2-bucket
- uses: actions/checkout@v3
- uses: ./.github/actions/test
- name: Deploy to Production
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_TOKEN }}
environment: 'carpark-production'
if: ${{ steps.release.outputs.release_created }}