Skip to content

Commit

Permalink
ci: deploy on release only
Browse files Browse the repository at this point in the history
  • Loading branch information
dy0gu authored Oct 20, 2024
1 parent dfdd451 commit e8af15f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@ permissions:
pull-requests: write

jobs:
simple:
metadata:
runs-on: ubuntu-latest
outputs:
release-created: ${{ steps.metadata.outputs.release_created }}
steps:
- uses: googleapis/release-please-action@v4
- name: Update project metadata and release pull request
id: metadata
uses: googleapis/release-please-action@v4
with:
# Updates CHANGELOG.md and creates a tagged release in github
release-type: simple
deploy:
needs: [metadata]
if: ${{ needs.metadata.outputs.release-created}}
uses: ./.github/workflows/deploy.yaml

0 comments on commit e8af15f

Please sign in to comment.