-
Notifications
You must be signed in to change notification settings - Fork 9
35 lines (33 loc) · 1.02 KB
/
sync-pretalx.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
name: Pretalx Sync
on:
schedule:
- cron: "0 23 30 * *"
workflow_dispatch:
jobs:
build:
defaults:
run:
working-directory: ./devcon-api
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: "20"
- run: yarn install
env:
DB_CONNECTION_STRING: ${{ secrets.DB_CONNECTION_STRING }}
- run: yarn sync:pretalx
env:
PRETALX_API_KEY: ${{ secrets.PRETALX_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EMAIL_SECRET: ${{ secrets.EMAIL_SECRET }}
GOOGLE_CLIENT_EMAIL: ${{ secrets.GOOGLE_CLIENT_EMAIL }}
GOOGLE_PRIVATE_KEY: ${{ secrets.GOOGLE_PRIVATE_KEY }}
WEBHOOK_MEERKAT_SECRET: ${{ secrets.WEBHOOK_MEERKAT_SECRET }}
- uses: EndBug/add-and-commit@v9
with:
add: "devcon-api/data"
default_author: github_actions
message: "[action] Pretalx Sync"
pull: "--rebase --autostash"