-
Notifications
You must be signed in to change notification settings - Fork 13
34 lines (28 loc) · 985 Bytes
/
sync_project.yml
File metadata and controls
34 lines (28 loc) · 985 Bytes
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
name: cookietemple sync
on:
schedule:
- cron: "0 1 * * *" # 1 am UTC
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4.3.0
with:
python-version: 3.8
- name: Install cookietemple
run: pip install cookietemple
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: "${{ secrets.CT_SYNC_TOKEN }}"
name: Check out source-code repository
- uses: oleksiyrudenko/gha-git-credentials@v2.1
with:
name: "AnnaChristina"
email: "anna.schaar@helmholtz-muenchen.de"
actor: "AnnaChristina"
token: "${{ secrets.CT_SYNC_TOKEN}}"
- name: Sync project
run: cookietemple sync . ${{ secrets.CT_SYNC_TOKEN }} zethson