Skip to content

Commit

Permalink
chore: Added Release Please to Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Nov 20, 2024
1 parent fc69e5e commit 4db2020
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/php83.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,26 @@ jobs:
- name: CodeCov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
release_staging:
needs:
- "test"
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev'
steps:
- uses: actions/checkout@v4
- uses: google-github-actions/release-please-action@v3
with:
release-type: php
token: ${{ secrets.GITHUB_TOKEN }}
release_prod:
needs:
- "test"
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: google-github-actions/release-please-action@v3
with:
release-type: php
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4db2020

Please sign in to comment.