Skip to content

Commit

Permalink
Update deploy-production.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuLamiot authored Jan 15, 2024
1 parent 581b659 commit 24ad149
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,23 @@ jobs:
ref: master
token: ${{ secrets.DEPLOY_ACTION_PAT }}
path: ./.github/actions/group.one-deploy-action
- name: Create date release tag
id: create_tag
run: echo ::set-output name=VERSION::$(echo $(date '+%Y.%m.%d-%H%M'))
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: false
name: ${{ steps.create_tag.outputs.VERSION }}
tag_name: v${{ steps.create_tag.outputs.VERSION }}
body: ${{ github.event.head_commit.message }}
target_commitish: master
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
- name: Deploy to production
id: deploy
uses: ./.github/actions/group.one-deploy-action/
with:
application: wpm-tbtt
environment: production
token: ${{ secrets.DEPLOY_PROXY_TOKEN }}
token: ${{ secrets.DEPLOY_PROXY_TOKEN }}

0 comments on commit 24ad149

Please sign in to comment.