Skip to content

Refactor config for the Release. (#136) #13

Refactor config for the Release. (#136)

Refactor config for the Release. (#136) #13

Workflow file for this run

# This workflow will deploy the documentation in docs/ to http://docs.vis.xyz/4d/
name: deploy docs
on:
push:
branches:
- main
paths:
- "docs/**"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: '3.10'
- name: Install dependencies
run: |
eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.CUDA_OPS_REPO_KEY }}'
python3 -m pip install --upgrade pip
bash ./scripts/install_cpu_dep_full.sh
python3 -m pip install -e .
python3 -m pip install --ignore-installed -r docs/requirements.txt
python3 -m pip freeze
- name: website build
run: |
cd docs
make html
- name: deploy website to AWS
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --exclude ".DS_Store"
env:
AWS_S3_BUCKET: docs.vis.xyz/4d
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: "docs/build/html/"