chore: update .build.yml (change $HOME for ~)

This commit is contained in:
swaits committed 2024-12-19 10:52:13 -07:00
1 parent 4d94a3f7f2
commit 607814713a
1 file changed
+3 -3
+3 -3
View File
@@ -12,13 +12,13 @@ environment:
tasks:
- fetch-all-branches: |
cd "~/$REPO"
cd "$HOME/$REPO"
git fetch origin '+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*' --prune
- setup-github-remote: |
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
ssh-keyscan -t rsa github.com >> "$HOME/.ssh/known_hosts"
git remote add github "git@github.com:$USER/$REPO.git"
- mirror-to-github: |
cd "~/$REPO"
cd "$HOME/$REPO"
git push --mirror github