fix actions
All checks were successful
books / flake8 (push) Successful in 34s
books / docker (push) Successful in 35s
books / pypi (push) Successful in 1m5s

This commit is contained in:
Michel Roux 2023-06-25 22:39:53 +02:00
parent af46673300
commit 3e5550cf92

View File

@ -23,6 +23,7 @@ jobs:
id: meta id: meta
with: with:
images: xefir/pynyaata images: xefir/pynyaata
flavor: latest=${{ github.ref == 'refs/heads/master' }}
- uses: https://github.com/docker/login-action@v2 - uses: https://github.com/docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
@ -37,7 +38,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: python container: python
needs: [lint] needs: [lint]
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/master' }}
steps: steps:
- run: apt-get update - run: apt-get update
- run: apt-get install -y git nodejs - run: apt-get install -y git nodejs