Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
simplify deploy logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kclejeune committed Sep 4, 2021
1 parent ae48806 commit 9f41df8
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,9 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
- name: Build and Deploy
id: docker_build
uses: docker/build-push-action@v2
with:
push: false
tags: kclejeune/tmobile-isp-client
- name: Deploy
if: ${{ github.ref == 'refs/heads/master' }}
id: docker_depoy
uses: docker/build-push-action@v2
with:
push: true
push: ${{ github.ref == 'refs/heads/master' }}
tags: kclejeune/tmobile-isp-client

0 comments on commit 9f41df8

Please sign in to comment.