Skip to content

Commit

Permalink
fix(ci): schduled job illegal characters (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Jul 17, 2024
1 parent 8059727 commit 6bd3899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-job.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Scheduled ETL Sync
name: ETL Sync

on:
schedule: [cron: "0 */2 * * *"] # Every other hour on the hour
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
# Create job
CRONJOB=${{ github.event.repository.name }}-test-sync
RUN_JOB=${CRONJOB}-$(nr-spar: date +"%Y-%m-%d_%H:%M:%S")
RUN_JOB=${CRONJOB}--$(date +"%Y-%m-%d--%H-%M-%S")
oc create job ${RUN_JOB} --from=cronjob/${CRONJOB}
# Follow
Expand Down

0 comments on commit 6bd3899

Please sign in to comment.