Skip to content

Commit

Permalink
ci: Improve if syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Jul 20, 2021
1 parent e05c4ef commit a84a0e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Login to Packages
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login 'docker.pkg.github.com' -u 'peaceiris' --password-stdin
- run: docker-compose pull --quiet
if: github.event_name == 'pull_request'
if: ${{ github.event_name == 'pull_request' }}
- run: make build
- run: docker images
- run: make ci
- run: make all
- run: docker-compose push
if: github.ref == 'refs/heads/main'
if: ${{ github.ref == 'refs/heads/main' }}

0 comments on commit a84a0e2

Please sign in to comment.