Skip to content

Commit

Permalink
Add deploy workflow in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiSG committed May 20, 2024
1 parent 5926dc7 commit 5662b27
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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

0 comments on commit 5662b27

Please sign in to comment.