Skip to content

Commit

Permalink
Yet another time
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthGandalf committed Oct 22, 2023
1 parent 8970488 commit f8009fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ jobs:
NIGHTLY_SFTP_KEY: ${{secrets.NIGHTLY_SFTP_KEY}}
run: |
brew install lftp
ls -l ~/.ssh
echo "$NIGHTLY_SFTP_KEY" > ~/.ssh/id_rsa
echo 'nightly.kvirc.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPWXPg8wxcaZqGLfFpS+TxkterxB4luo8e/bxh33poGQ' > ~/.ssh/known_hosts
echo 'nightly.kvirc.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPWXPg8wxcaZqGLfFpS+TxkterxB4luo8e/bxh33poGQ' >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/id_rsa ~/.ssh/known_hosts
mkdir upload-area
mv *.dmg upload-area/
echo '{"bin": "${{ env.dmg_name }}.dmg", "size":' $(wc -c <"${{ env.dmg_name }}.dmg") '}' > upload-area/latest-macos
mv *.dmg upload-area/
lftp -c "connect -u ${{secrets.NIGHTLY_SFTP_USER}} sftp://nightly.kvirc.net; mirror -R upload-area x/"

0 comments on commit f8009fa

Please sign in to comment.