-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (35 loc) · 946 Bytes
/
main.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
name: CI
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: example-group
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '20'
- uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Python Requirements
run: |
python -m ensurepip --upgrade
pip install -U setuptools
pip install -r requirements.txt
- name: npm requirements
run: (cd ui && npm install)
- name: git identity
run: |
git config user.email "adam.kariv@gmail.com"
git config user.name "Adam Kariv"
- name: Deploy
env:
CKAN_API_KEY: ${{ secrets.CKAN_API_KEY }}
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}
run: ./deploy.sh