Added source page buttons for Fink and Data Central DAS (#697) #15
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
name: ci docs dev | |
# a merged PR will trigger a push on dev so merging to dev is | |
# included in the event below | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- uses: Gr1N/setup-poetry@v7 | |
- name: Install system dependencies | |
run: sudo apt-get update && sudo apt-get install -y build-essential libpq-dev libgraphviz-dev | |
- name: Cache Python dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pypoetry/virtualenvs | |
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | |
- name: Install python dependencies | |
run: poetry install | |
- name: Configure Git user | |
run: | | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
- name: Build and deploy docs | |
run: poetry run mike deploy --push dev |