Skip to content

To tile coords (#939) #340

To tile coords (#939)

To tile coords (#939) #340

Workflow file for this run

name: docs
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install fftw3
run: |
sudo apt-get install libfftw3-dev
- name: Install poetry dependencies
run: |
poetry install
- name: Create local changes
run: |
pushd ./docs/docsrc
poetry run make clean
poetry run make github
popd
git add --force ./docs
git restore --staged ./docs/docsrc/bin
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Generate docs" -a
- name: Push changes
uses: ad-m/github-push-action@887c31bd838a40c4da09953b6df364b5439bd7c3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: refs/heads/master-sphinx
force: true