Skip to content

Commit

Permalink
ci: read the actual error message
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Davis <stdavis@utah.gov>
  • Loading branch information
jacobdadams and stdavis committed Aug 16, 2024
1 parent 35aa45a commit cc45c7b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ runs:
run: |
if [ ! "$(gcloud scheduler jobs list --location=us-central1 | grep ${{ steps.globals.outputs.MAIN_SCHEDULE_NAME }})" ]; then
gcloud scheduler jobs create pubsub "${{ steps.globals.outputs.MAIN_SCHEDULE_NAME }}" \
--description="${{ steps.globals.outputs.MAIN_SCHEDULE_DESCRIPTION" }}"
--description="${{ steps.globals.outputs.MAIN_SCHEDULE_DESCRIPTION }}"
--schedule="${{ steps.globals.outputs.MAIN_SCHEDULE_CRON }}" \
--time-zone=America/Denver \
--location=us-central1 \
Expand All @@ -83,7 +83,7 @@ runs:
--quiet
else
gcloud scheduler jobs update pubsub "${{ steps.globals.outputs.MAIN_SCHEDULE_NAME }}" \
--description="${{ steps.globals.outputs.MAIN_SCHEDULE_DESCRIPTION" }}"
--description="${{ steps.globals.outputs.MAIN_SCHEDULE_DESCRIPTION }}"
--schedule="${{ steps.globals.outputs.MAIN_SCHEDULE_CRON }}" \
--time-zone=America/Denver \
--location=us-central1 \
Expand All @@ -101,16 +101,16 @@ runs:
--schedule="${{ steps.globals.outputs.VALIDATOR_SCHEDULE_CRON }}" \
--time-zone=America/Denver \
--location=us-central1 \
--topic=${{ steps.globals.outputs.TOPIC_NAME }}\
--topic="${{ steps.globals.outputs.TOPIC_NAME }}"\
--message-body='validate' \
--quiet
else
gcloud scheduler jobs update pubsub "${{ steps.globals.outputs.VALIDATOR_SCHEDULE_NAME }} \
gcloud scheduler jobs update pubsub "${{ steps.globals.outputs.VALIDATOR_SCHEDULE_NAME }}" \
--description="${{ steps.globals.outputs.VALIDATOR_SCHEDULE_DESCRIPTION }}" \
--schedule="${{ steps.globals.outputs.VALIDATOR_SCHEDULE_CRON }}" \
--time-zone=America/Denver \
--location=us-central1 \
--topic=${{ steps.globals.outputs.TOPIC_NAME }}\
--topic="${{ steps.globals.outputs.TOPIC_NAME }}"\
--message-body='validate' \
--quiet
fi

0 comments on commit cc45c7b

Please sign in to comment.