Fix export

This commit is contained in:
Fedor Korotkiy 2023-03-10 16:05:04 +04:00
parent 32ae59d9dd
commit 69816c6f84

View file

@ -67,6 +67,7 @@ push-to-github:
- git filter-repo --force --paths-from-file /tmp/private_files.txt --invert-path - git filter-repo --force --paths-from-file /tmp/private_files.txt --invert-path
- git branch -D main || true - git branch -D main || true
- git checkout -b main - git checkout -b main
- git remote rm github || true
- git remote add -f github git@github.com:slon/shad-go.git - git remote add -f github git@github.com:slon/shad-go.git
- echo $GITHUB_PUSH_KEY | base64 -d > private.key - echo $GITHUB_PUSH_KEY | base64 -d > private.key
- env GIT_SSH_COMMAND="ssh -i ${PWD}/private.key" git push github main - env GIT_SSH_COMMAND="ssh -i ${PWD}/private.key" git push github main