chore: update .build.yml (change $HOME for ~)
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -12,13 +12,13 @@ environment:
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- fetch-all-branches: |
|
- fetch-all-branches: |
|
||||||
cd "~/$REPO"
|
cd "$HOME/$REPO"
|
||||||
git fetch origin '+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*' --prune
|
git fetch origin '+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*' --prune
|
||||||
|
|
||||||
- setup-github-remote: |
|
- 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"
|
git remote add github "git@github.com:$USER/$REPO.git"
|
||||||
|
|
||||||
- mirror-to-github: |
|
- mirror-to-github: |
|
||||||
cd "~/$REPO"
|
cd "$HOME/$REPO"
|
||||||
git push --mirror github
|
git push --mirror github
|
||||||
Reference in new issue
Block a user