Skip to content

Commit

Permalink
Use the Setup Python Script only
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycastelli committed Mar 25, 2024
1 parent 5135369 commit 1cd5ab8
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/deploy_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'

- name: Install dependencies
uses: jannekem/run-python-script-action@v1.7
with:
script: |
pip install -r requirements.txt
- run: pip install -r requirements.txt

- name: Build Site
uses: jannekem/run-python-script-action@v1.7
uses: actions/setup-python@v5
with:
script: |
python -m pip install --upgrade pip
mkdocs build
python-version: '3.x'
cache: 'pip'
- run: mkdocs build

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit 1cd5ab8

Please sign in to comment.