forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add monodocs build to ci in flytectl (flyteorg#446)
* add monodocs build to ci in flytectl Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com> * update name Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com> --------- Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
- Loading branch information
1 parent
ca54f09
commit f727ff6
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Monodocs Build | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
docs: | ||
name: Monodocs Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch flytectl code | ||
uses: actions/checkout@v4 | ||
with: | ||
path: "${{ github.workspace }}/flytectl" | ||
- name: Fetch flyte code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: flyteorg/flyte | ||
path: "${{ github.workspace }}/flyte" | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.9 | ||
- shell: bash -el {0} | ||
working-directory: ${{ github.workspace }}/flyte | ||
run: | | ||
conda install -c conda-forge conda-lock | ||
conda-lock install -n monodocs-env monodocs-environment.lock.yaml | ||
- shell: bash -el {0} | ||
run: | | ||
conda activate monodocs-env | ||
conda info | ||
conda list | ||
conda config --show-sources | ||
conda config --show | ||
printenv | sort | ||
- name: Build the documentation | ||
working-directory: ${{ github.workspace }}/flyte | ||
shell: bash -el {0} | ||
env: | ||
FLYTECTL_LOCAL_PATH: ${{ github.workspace }}/flytectl | ||
run: | | ||
conda activate monodocs-env | ||
make docs |