Skip to content

Commit

Permalink
ci: Upload results with rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Feb 28, 2024
1 parent b594dba commit 87c54fa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/data-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ jobs:
sudo tar -C out/ --zstd -cf feeds.tar.zst .
- name: Upload results
run: curl --upload-file feeds.tar.zst https://transfer.sh/feeds.tar.zst
run: |
echo "${{secrets.RSYNC_PRIVATE_KEY}}" > deploy_key
chmod 600 ./deploy_key
rsync -avz --progress --delete \
-e 'ssh -i ./deploy_key -p 22 -o StrictHostKeyChecking=no' \
out/ [email protected]:
rm deploy_key

0 comments on commit 87c54fa

Please sign in to comment.