Skip to content

Commit

Permalink
ci: fix checkout branch
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfsousa committed Nov 19, 2022
1 parent 9c3f685 commit b8bed6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-push.yaml
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
ref: ${{ github.event.workflow_run.head_branch }}

- name: Bump version and push tag
id: tag-version
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
ref: ${{ github.event.workflow_run.head_branch }}

- name: Update package.json version
run: echo "`jq '.version="${{ env.TAG }}"' package.json`" > package.json
Expand Down

0 comments on commit b8bed6d

Please sign in to comment.