Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
peterxcli authored Aug 20, 2023
1 parent c50099f commit 815f9c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
path: docker.tar

swagger-ui:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: [test]
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -137,4 +138,4 @@ jobs:
# docker load --input docker.tar
# docker image ls -a
# - name: Docker Push
# run: docker push peter0814/basic-auth-gin:$IMAGE_TAG
# run: docker push peter0814/basic-auth-gin:$IMAGE_TAG

0 comments on commit 815f9c0

Please sign in to comment.