mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-12-23 20:19:24 +08:00
fix workflow
This commit is contained in:
parent
d76e661e22
commit
823702e1b4
1 changed files with 2 additions and 1 deletions
3
.github/workflows/roa.yml
vendored
3
.github/workflows/roa.yml
vendored
|
@ -39,12 +39,13 @@ jobs:
|
|||
cd roa_dir
|
||||
[ -n "$SSHPRIVKEY" ] || (echo SSHPRIVKEY is not set; exit 1)
|
||||
( set -e;
|
||||
mkdir -p ~/.ssh
|
||||
echo "$SSHPRIVKEY" |base64 -d > ~/.ssh/id_ed25519
|
||||
chmod 0600 ~/.ssh/id_ed25519
|
||||
ssh -o StrictHostKeyChecking=no git@github.com || true
|
||||
git init && git add .
|
||||
git config user.name "neonet roa bot"
|
||||
git config user.email "bot@github.com"
|
||||
git init && git add .
|
||||
git commit -m "Generated at $(TZ='UTC' date +%Y%m%d-%H%M%S.%N)"
|
||||
git push --force --quiet "git@github.com:NeoCloud/NeoNetwork-ROA.git" HEAD:master
|
||||
) || (shred ~/.ssh/id_ed25519; exit 1)
|
||||
|
|
Loading…
Reference in a new issue