Skip to content

ci(github): add more jobs #2

ci(github): add more jobs

ci(github): add more jobs #2

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
steps:
- id: release
uses: googleapis/release-please-action@v4
with:
release-type: simple
deploy-test:
name: Deploy to Test
runs-on: ubuntu-latest
if: ${{ !needs.release-please.outputs.releases_created }}
needs: release-please
steps:
- run: echo "Deploying to test!"
deploy-staging:
name: Deploy to Staging
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.releases_created }}
needs: release-please
steps:
- run: echo "Deploying to staging!"