Final Prod Deployment

This commit is contained in:
Maximilien Rigaut 2022-06-07 06:19:16 +02:00
parent fe01e04001
commit e7d3d94847
No known key found for this signature in database
GPG Key ID: 4F14B23709ADA5B1
1 changed files with 15 additions and 3 deletions

View File

@ -44,8 +44,20 @@ jobs:
runs-on: ubuntu-latest
environment: production
steps:
- name: deploy
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Build the application
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install -r requirements.txt
pip install .
python -m bootstraparse "example_userfiles" "docs"
pip install -e .
python -m bootstraparse "example_userfiles" "docs"
- name: deploy
uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs