1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-01 07:57:44 +00:00

Add upload tarball to the CI

This commit is contained in:
Joshua Goins 2023-10-04 18:15:41 -04:00
parent 2a4efbf431
commit 69ca730039

View file

@ -1,9 +1,20 @@
image: archlinux image: archlinux
packages: packages:
- reuse - reuse
- rsync
sources: sources:
- https://git.sr.ht/~redstrate/novus - https://git.sr.ht/~redstrate/novus
secrets:
- b748582a-5d31-4fe8-94d6-4a63035e97aa
tasks: tasks:
- reuse: | - reuse: |
cd novus cd novus
reuse lint reuse lint
- tarball: |
cd novus
./scripts/tarball.sh
- upload-tarball: |
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
rsync -e 'ssh -p 38901' -Wvr novus-source.tar.gz deploy@ryne.moe:/srv/http/astra-distrib/novus/git/
artifacts:
- novus-source.tar.gz