Skip to content

Commit

Permalink
only push if push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
glaszig committed Jul 26, 2024
1 parent 8c26959 commit 44beaa9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: ci

on:
push:
branches:
- master
on: push

jobs:
test:
Expand Down Expand Up @@ -71,7 +68,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
push: true
push: ${{ github.ref_name == 'master' }}
tags: |
glaszig/drone-capistrano:${{ matrix.ruby_version }}
glaszig/drone-capistrano:${{ matrix.image_tag }}

0 comments on commit 44beaa9

Please sign in to comment.