Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Dec 29, 2023
1 parent 9bfa636 commit a4e6467
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ jobs:
- name: Deploy
run: |
git remote add deploy $REPO_URL
git push deploy main:master --force
branch=$(git rev-parse --abbrev-ref HEAD)
git push deploy $branch:master --force
env:
# This avoids a failure when the client does not know the SSH Host already
GIT_SSH_COMMAND: "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
Expand Down

0 comments on commit a4e6467

Please sign in to comment.