We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3219ea1 commit 413a8a2Copy full SHA for 413a8a2
.github/workflows/sync.yml
@@ -0,0 +1,30 @@
1
+name: sync
2
+
3
+on:
4
+ schedule:
5
+ - cron: '1,31 * * * *' # twice an hour
6
+ workflow_dispatch:
7
8
+jobs:
9
+ sync:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v3
14
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v4
17
+ with:
18
+ python-version: '3.x'
19
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install pyyaml requests
24
25
+ - name: Run sync script
26
+ env:
27
+ GUIDEBOOK_API_TOKEN: ${{ secrets.GUIDEBOOK_API_TOKEN }}
28
+ GUIDEBOOK_JWT_TOKEN: ${{ secrets.GUIDEBOOK_JWT_TOKEN }}
29
30
+ python ./guidebook_sync/sync_guidebook.py
0 commit comments