Skip to content

Commit

Permalink
chore: Production test 9
Browse files Browse the repository at this point in the history
chore: Production test 9
  • Loading branch information
DestroyCom committed Sep 4, 2023
2 parents 70a3dfb + 2ac9b0e commit 879b68c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
launch_release:
runs-on: ubuntu-latest
permissions:
contents: write
discussions: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -22,3 +25,4 @@ jobs:
with:
generate_release_notes: true
tag_name: ${{ steps.latest_tag.outputs.tag }}
name: ${{ steps.latest_tag.outputs.tag }}
8 changes: 5 additions & 3 deletions .github/workflows/create_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
env:
commitmsg: ${{ github.event.head_commit.message }}
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
with:
fetch-depth: 0
- name: Create or update major version
uses: joutvhu/create-tag@v1
with:
tag_name: $commitmsg
message: $commitmsg
tag_name: ${{ env.COMMIT_MESSAGE }}
message: ${{ env.COMMIT_MESSAGE }}
on_tag_exists: update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Echo env
run: echo ${{ env.COMMIT_MESSAGE }}
2 changes: 1 addition & 1 deletion .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: ./.github/workflows/create_release.yml
secrets: inherit
update_sera_app:
needs: deploy_release
needs: [build_server, build_webapp]
uses: ./.github/workflows/install_sera.yml
secrets: inherit
notify:
Expand Down

0 comments on commit 879b68c

Please sign in to comment.