Skip to content

Commit

Permalink
Add CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
figi44 committed Jan 19, 2024
1 parent e7db8bd commit 70ba21d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/doc-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# note: each step is executed in own process
build-steps:
- git clone --depth 1 https://github.com/ecmwf/atlas.git $RUNNER_TEMP/atlas
- sudo apt install -y -q doxygen texlive-full
- |
make PUBLIC=1 WITH_ECKIT=1 WITH_DOXYGEN=1 ATLAS_SOURCE_DIR=$RUNNER_TEMP/atlas clean html
echo "DOC_BUILD_PATH=$GITHUB_WORKSPACE/build/html" >> "$GITHUB_ENV"
hosts:
ecmwf-sites:
space: docs
name: atlas

15 changes: 15 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Docs

on:
push:
branches:
- "master"

workflow_dispatch: ~

jobs:
publish:
uses: ecmwf-actions/reusable-workflows/.github/workflows/cd-docs.yml@v2
with:
config: .github/doc-config.yml
secrets: inherit

0 comments on commit 70ba21d

Please sign in to comment.