-
Notifications
You must be signed in to change notification settings - Fork 71
39 lines (32 loc) · 992 Bytes
/
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
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
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Setup environment and build
run: |
chmod +x utils/setup_env.sh
. utils/setup_env.sh
- name: Deploy Netlify
uses: jsmrcaga/action-netlify-deploy@v2.3.0
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_TO_PROD: true
build_directory: evidence/build
install_command: make build run
build_command: make evidence-build