Skip to content

Commit 73abd11

Browse files
committed
Adjust scheduling of a11y snapshot GH action
1 parent dbb17a7 commit 73abd11

File tree

2 files changed

+32
-33
lines changed

2 files changed

+32
-33
lines changed

.github/workflows/create-a11y-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Create a11y S3 snapshot
44
# yamllint disable-line rule:truthy
55
on:
66
schedule:
7-
- cron: '15 12 * * *'
7+
- cron: '30 12 * * *'
88

99
workflow_dispatch:
1010
inputs:
Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
---
2-
name: Create daily S3 snapshots
3-
4-
# yamllint disable-line rule:truthy
5-
on:
6-
schedule:
7-
- cron: '15 12 * * *'
8-
9-
workflow_dispatch:
10-
inputs:
11-
cf_space:
12-
description: deployed cloud.gov space
13-
required: true
14-
default: prod
15-
16-
jobs:
17-
snapshot:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- name: run create-daily-snapshot cli job in chosen space
21-
uses: cloud-gov/cg-cli-tools@main
22-
with:
23-
cf_api: https://api.fr.cloud.gov
24-
cf_username: ${{ secrets.CF_USERNAME }}
25-
cf_password: ${{ secrets.CF_PASSWORD }}
26-
cf_org: gsatts-sitescan
27-
cf_space: ${{ github.event.inputs.cf_space || 'prod' }}
28-
cf_command: |
29-
run-task site-scanner-consumer
30-
-c "node dist/apps/cli/main.js create-daily-snapshot"
31-
-k 4G -m 4G
32-
--name github-action-create-daily-snapshots-${{ github.run_id }}
33-
2+
name: Create daily S3 snapshots
3+
4+
# yamllint disable-line rule:truthy
5+
on:
6+
schedule:
7+
- cron: '30 12 * * *'
8+
9+
workflow_dispatch:
10+
inputs:
11+
cf_space:
12+
description: deployed cloud.gov space
13+
required: true
14+
default: prod
15+
16+
jobs:
17+
snapshot:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: run create-daily-snapshot cli job in chosen space
21+
uses: cloud-gov/cg-cli-tools@main
22+
with:
23+
cf_api: https://api.fr.cloud.gov
24+
cf_username: ${{ secrets.CF_USERNAME }}
25+
cf_password: ${{ secrets.CF_PASSWORD }}
26+
cf_org: gsatts-sitescan
27+
cf_space: ${{ github.event.inputs.cf_space || 'prod' }}
28+
cf_command: |
29+
run-task site-scanner-consumer
30+
-c "node dist/apps/cli/main.js create-daily-snapshot"
31+
-k 4G -m 4G
32+
--name github-action-create-daily-snapshots-${{ github.run_id }}

0 commit comments

Comments
 (0)