build: Build before deploying

This commit is contained in:
Martin Polden 2021-08-03 23:21:46 +02:00
parent 7b98b93f52
commit 2899ca8f39
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ jobs:
run: make
deploy:
if: ${{ github.ref == 'refs/heads/master' }}
needs: build
runs-on: ubuntu-latest
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}