Skip to content

Commit

Permalink
fix dependencies install for dev deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
erexer committed Oct 23, 2024
1 parent 838cec4 commit 5010935
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/03_dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/setup-python@master
with:
python-version: '3.9'
- name: Install latex dependencies
run: sudo apt-get update -y && sudo apt-get install -y texlive latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended ghostscript
- name: Update pip and install python dependencies
working-directory: 'docs/'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[docs]"
- name: Build html and pdf ebook
working-directory: 'docs/'
env:
Expand Down Expand Up @@ -48,12 +49,12 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_DEV }}
AWS_REGION: ${{ secrets.AWS_REGION_DEV }}
- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile_dev
Expand Down

0 comments on commit 5010935

Please sign in to comment.