Add information about quota support #800
Workflow file for this run
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 is a basic workflow to help you get started with Actions | |
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: iterate-ch/sphinx-action@v1.0 | |
with: | |
docs-folder: "." | |
build-command: "make dirhtml" | |
- name: Cache artifacts | |
uses: actions/cache@v2 | |
if: github.ref == 'refs/heads/main' | |
with: | |
key: html-${{ github.sha }} | |
path: ./_build/dirhtml | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
needs: build | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache artifacts | |
uses: actions/cache@v2 | |
with: | |
key: html-${{ github.sha }} | |
path: ./_build/dirhtml | |
- name: Install Cyberduck CLI | |
run: | | |
echo -e "deb https://s3.amazonaws.com/repo.deb.cyberduck.io stable main" | sudo tee /etc/apt/sources.list.d/cyberduck.list > /dev/null | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FE7097963FEFBE72 | |
sudo apt-get update | |
sudo apt-get -y install duck | |
- name: Deploy | |
run: .github/sync.sh ./_build/dirhtml | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} |