Skip to content

Commit b956f8f

Browse files
committed
build: fix deploy
1 parent 35c1aaa commit b956f8f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
- name: Deploy
189189
run: |
190190
git remote add deploy $REPO_URL
191-
git push deploy ${{ github.ref_name }}:master --force
191+
git push deploy HEAD:master --force
192192
env:
193193
# This avoids a failure when the client does not know the SSH Host already
194194
GIT_SSH_COMMAND: "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,5 @@ jobs:
164164
with:
165165
workflow: Release update
166166
repo: monicahq/docker
167+
ref: refs/heads/main
167168
token: ${{ secrets.DOCKER_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)