-
Notifications
You must be signed in to change notification settings - Fork 6
50 lines (42 loc) · 1.48 KB
/
copy.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
45
46
47
48
49
50
name: Node.js CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: install python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pipenv
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pipenv wheel
python -m pip install pipfile-requirements
- id: cache-pipenv
uses: actions/cache@v1
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}
- name: Install dependencies
if: steps.cache-pipenv.outputs.cache-hit != 'true'
run: |
pipfile2req > requirements.txt
pip install -r requirements.txt
pip install sphinx
# pip install sphinx sphinx_bootstrap_theme sphinx_gallery nibabel scipy pandas mne_bids mne natsort scikit-image scikit-learn dicom2nifti numpydoc
sphinx-build -b html doc doc/build
- name: Pushes to another repository
uses: thebrainchain/copy-folder-action@master
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: "doc/build"
output-directory: "docs/seek"
destination-github-username: "cronelab"
destination-repository-name: "ReconstructionVisualizer"
user-email: [email protected]