diff --git a/.github/workflows/deploy.yml b/.github/workflows/release.yml similarity index 88% rename from .github/workflows/deploy.yml rename to .github/workflows/release.yml index 7d8ebde1..4d9b0140 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/release.yml @@ -6,8 +6,9 @@ on: jobs: release: - name: Deploy runs-on: ubuntu-latest + outputs: + deployment: ${{ steps.deploy.outputs.exit_code }} steps: - name: Checkout uses: actions/checkout@v4 @@ -45,8 +46,17 @@ jobs: GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }} + commit-development-version: + runs-on: ubuntu-latest + needs: [ release ] + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 5 + persist-credentials: false - name: Commit next development version - if: steps.deploy.outputs.exit_code == 0 + if: needs.release.outputs.deployment == 0 run: | git config user.email "githubbot@gluonhq.com" git config user.name "Gluon Bot"