Skip to content

Commit

Permalink
ci: add release-please to CD (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Mar 5, 2024
1 parent 1580531 commit 960e071
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,26 @@ permissions:
contents: read

jobs:
release-please:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
outputs:
tag_name: ${{ steps.release.outputs.tag_name }}
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
target-branch: ${{ github.ref_name }}

orchestrator:
name: Orchestrator
needs:
- release-please
runs-on: ubuntu-latest
outputs:
should-deploy-docs: ${{ steps.changed-website-files.outputs.any_changed == 'true' || null }}
Expand Down

0 comments on commit 960e071

Please sign in to comment.