-
Notifications
You must be signed in to change notification settings - Fork 59
44 lines (35 loc) · 1.05 KB
/
scheduled_run.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
40
41
42
43
44
name: 'Scheduled Run'
on:
schedule:
- cron: '0 10 * * *' # This line sets the job to run every day at 10am UTC
jobs:
deploy:
name: 'Deploy'
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@master
with:
python-version: '3.11'
node-version: 20
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: python basics
run: make build
- name: build pipeline
run: make run
- name: evidence install & build
run: |
make evidence-build
- name: copy output to working directory
run: |
mkdir -p /home/runner/work/_temp/_github_home/build
cp -r evidence/build/* /home/runner/work/_temp/_github_home/build
- name: Deploy Netlify
uses: danakim/gh-action-deploy-netlify@master
with:
AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
DEPLOY_PROD: true