We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b11e2a2 commit 7d43adfCopy full SHA for 7d43adf
.github/workflows/prod-deployment.yml
@@ -1,9 +1,7 @@
1
name: Workflow for Production Environment Deployment
2
3
on:
4
- push:
5
- branches:
6
- - stable
+ workflow_dispatch:
7
8
env:
9
CONFIG_ENV: ${{ secrets.CONFIG_ENV }}
@@ -57,3 +55,15 @@ jobs:
57
55
-v "$(pwd)/log:/app/lexicapi/log:z" \
58
56
-p "8081:8081" \
59
"$REGISTRY/$REGISTRY_IMAGE:stable"
+
+ - name: Get Release Date
60
+ id: get_release_date
61
+ run: echo "RELEASE_DATE=$(TZ='Asia/Jakarta' date +'%A %d-%m-%Y %T WIB')" >> "$GITHUB_OUTPUT"
62
63
+ - name: Mark as Stable
64
+ uses: ncipollo/release-action@v1
65
+ with:
66
+ allowUpdates: true
67
+ body: "Stable release updated at ${{ steps.get_release_date.outputs.RELEASE_DATE }}"
68
+ token: ${{ secrets.GH_TOKEN }}
69
+ tag: stable
0 commit comments