Skip to content

Commit 13db247

Browse files
committed
fix: add timeout to deploy job and include commit message in deployment
1 parent 45cfaa5 commit 13db247

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy-production.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ permissions:
1919
jobs:
2020
deploy:
2121
runs-on: ubuntu-latest
22+
timeout-minutes: 6
2223
environment: stackfox-labs / production
2324
steps:
2425
- name: Checkout
@@ -53,4 +54,4 @@ jobs:
5354
RAILWAY_PROJECT: ${{ vars.RAILWAY_PROD_PROJECT_ID }}
5455
RAILWAY_ENVIRONMENT: ${{ vars.RAILWAY_PROD_ENVIRONMENT }}
5556
RAILWAY_SERVICE: ${{ vars.RAILWAY_PROD_SERVICE }}
56-
run: railway up --ci --service "$RAILWAY_SERVICE" --environment "$RAILWAY_ENVIRONMENT" --project "$RAILWAY_PROJECT"
57+
run: railway up --ci --service "$RAILWAY_SERVICE" --environment "$RAILWAY_ENVIRONMENT" --project "$RAILWAY_PROJECT" -m "[GITHUB Actions] $(git log -1 --pretty=%s)"

0 commit comments

Comments
 (0)