File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 4545 id : deploy-staging
4646 working-directory : ./apps/sim
4747 run : |
48- OUTPUT=$(npx --yes trigger.dev@4.0.4 deploy -e staging --skip-promotion 2>&1)
49- echo "$OUTPUT"
50- VERSION=$(echo "$OUTPUT" | grep -oP 'Successfully deployed version \K[0-9]+\.[0-9]+' || echo "$OUTPUT" | grep -oP 'version \K[0-9]+\.[0-9]+' | head -1)
51- echo "version=$VERSION" >> $GITHUB_OUTPUT
52- echo "Deployed version: $VERSION"
48+ npx --yes trigger.dev@4.0.4 deploy -e staging --skip-promotion
49+ echo "version=$TRIGGER_DEPLOYMENT_VERSION" >> $GITHUB_OUTPUT
50+ echo "Deployed version: $TRIGGER_DEPLOYMENT_VERSION"
5351
5452 - name : Store Staging version in Parameter Store
5553 if : github.ref == 'refs/heads/staging'
6563 id : deploy-production
6664 working-directory : ./apps/sim
6765 run : |
68- OUTPUT=$(npx --yes trigger.dev@4.0.4 deploy --skip-promotion 2>&1)
69- echo "$OUTPUT"
70- VERSION=$(echo "$OUTPUT" | grep -oP 'Successfully deployed version \K[0-9]+\.[0-9]+' || echo "$OUTPUT" | grep -oP 'version \K[0-9]+\.[0-9]+' | head -1)
71- echo "version=$VERSION" >> $GITHUB_OUTPUT
72- echo "Deployed version: $VERSION"
66+ npx --yes trigger.dev@4.0.4 deploy --skip-promotion
67+ echo "version=$TRIGGER_DEPLOYMENT_VERSION" >> $GITHUB_OUTPUT
68+ echo "Deployed version: $TRIGGER_DEPLOYMENT_VERSION"
7369
7470 - name : Store Production version in Parameter Store
7571 if : github.ref == 'refs/heads/main'
You can’t perform that action at this time.
0 commit comments