-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 1.07 KB
/
ensure_gcal_watch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Ensure GCal Watches
on:
schedule:
- cron: "0 0 * * *"
jobs:
ensure-watches:
name: Ensure GCal Watches
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup just
uses: extractions/setup-just@v1
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Utilize pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ env.pythonLocation }}-${{ hashFiles('events_page/requirements.txt') }}
- name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v0"
with:
workload_identity_provider: "projects/538480189659/locations/global/workloadIdentityPools/los-verdes-lv-event-pagenerator/providers/los-verdes-lv-event-pagenerator"
service_account: "site-publisher@losverdesatx-events.iam.gserviceaccount.com"
- name: Ensure GCal Watches
run: just ensure-watches