-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (37 loc) · 997 Bytes
/
build-docs.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: Build Documentation
on:
push:
branches:
- main
- develop
jobs:
build:
name: Build Documentation
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: doc
environment-file: doc/environment.yml
mamba-version: "*"
channels: conda-forge,tpeulen,defaults
channel-priority: true
auto-activate-base: false
- run: |
conda info
conda list
cd doc
make
- uses: Dylan700/sftp-upload-action@latest
with:
server: ${{secrets.SFTP_ENDPOINT}}
username: ${{secrets.SFTP_USER}}
password: ${{secrets.SFTP_PASSWORD}}
port: ${{secrets.SFTP_PORT}}
uploads: |
./doc/_build/html/stable/ => ./www/docs.peulen.xyz/project/bff/
delete: 'true'