-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Docs workflow test * Update python versions and change conda env * Updated readme and added dep to env.yml * Add css config for footer placement
- Loading branch information
1 parent
98206cc
commit f2414a2
Showing
11 changed files
with
336 additions
and
228 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,48 @@ | ||
name: aws-doc-deploy | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Pull-Request-CI"] | ||
branches: [main] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
deploy: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
steps: | ||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
- uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 | ||
with: | ||
miniconda-version: "latest" | ||
activate-environment: plio | ||
environment-file: environment_docs.yml | ||
auto-activate-base: false | ||
auto-update-conda: true | ||
|
||
- name: Check doc build environment | ||
run: | | ||
conda list | ||
- name: Build Docs | ||
run: | | ||
cd docs | ||
sphinx-build -b html . public | ||
- name: Set AWS credentials for upload | ||
uses: aws-actions/configure-aws-credentials@0e613a0980cbf65ed5b322eb7a1e075d28913a83 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-west-2 | ||
|
||
- name: Upload to S3 | ||
working-directory: docs | ||
run: aws s3 sync --delete public s3://asc-public-docs/plio |
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
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.