Skip to content

Add deploy workflow in GitHub Actions #1

Add deploy workflow in GitHub Actions

Add deploy workflow in GitHub Actions #1

Workflow file for this run

name: Deploy
on:
push:
branches: [ cd ] # TESTING
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- run: make install && make html #TESTING
- name: Deploy built directory to openfisca.org website
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.OPENFISCADOTORG_DEPLOY_KEY }}
external_repository: openfisca/openfisca.org
publish_branch: test-cd # TESTING
publish_dir: ./doc