From e7d3d948477ec85168df2b2ae716d5b3841f7223 Mon Sep 17 00:00:00 2001 From: Maximilien Rigaut Date: Tue, 7 Jun 2022 06:19:16 +0200 Subject: [PATCH] Final Prod Deployment --- .github/workflows/python-app.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 2402aea..e1313fe 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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" \ No newline at end of file + 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