-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (36 loc) · 1000 Bytes
/
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
name: Deploy GitHub Pages
on:
push:
branches: [ master ]
schedule:
- cron: '0 6 * * 6'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: mivp-agent-web
environment-file: environment.yml
- name: Checkout mivp-agent
uses: actions/checkout@v2
with:
repository: mivp-agent/moos-ivp-agent
path: moos-ivp-agent
- name: Install mivp_agent pip package
run: pip install ${{github.workspace}}/moos-ivp-agent/src/python_module
- name: Build MkDocs
shell: bash -l {0}
run: mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
- name: Checkout mivp-agent
uses: actions/checkout@v2
with:
repository: mivp-agent/moos-ivp-agent
path: moos-ivp-agent