-
Notifications
You must be signed in to change notification settings - Fork 9
42 lines (38 loc) · 1.01 KB
/
deploy.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
name: Deploy
on:
repository_dispatch:
types: [build]
schedule:
- cron: "0 0 * * *"
push:
pull_request:
jobs:
build:
env:
CONDA_PREFIX: /usr/share/miniconda/
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Setup
shell: bash -l {0}
run: |
conda install jinja2 requests pandas
- name: Build
shell: bash -l {0}
run: |
python .ci_support/run.py --username ${{ github.actor }} --token ${{ secrets.GH_TOKEN }} --githubrepo ${{ github.repository }}
cp .ci_support/readmetemplate.md README.md
cat packages.md >> README.md
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: main
folder: .