parent
94151c5d98
commit
e08b4eee90
1 changed files with 11 additions and 10 deletions
|
@ -28,15 +28,16 @@ jobs:
|
||||||
sudo -u build repo-add repo-aur-myservermanager-com.db.tar.gz *.zst
|
sudo -u build repo-add repo-aur-myservermanager-com.db.tar.gz *.zst
|
||||||
cp *.zst ${{ github.workspace }}/_pkg/
|
cp *.zst ${{ github.workspace }}/_pkg/
|
||||||
cp *.tar.gz ${{ github.workspace }}/_pkg/
|
cp *.tar.gz ${{ github.workspace }}/_pkg/
|
||||||
|
echo "Produced package and AUR contents"
|
||||||
ls -la ${{ github.workspace }}/_pkg/
|
ls -la ${{ github.workspace }}/_pkg/
|
||||||
|
|
||||||
# - name: Synchronize to custom ArchLinux User Repository
|
- name: Synchronize to custom ArchLinux User Repository
|
||||||
# env:
|
env:
|
||||||
# KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
# USER: ${{ secrets.DEPLOY_SSH_USER }}
|
USER: ${{ secrets.DEPLOY_SSH_USER }}
|
||||||
# HOST: ${{ secrets.DEPLOY_SSH_HOST }}
|
HOST: ${{ secrets.DEPLOY_SSH_HOST }}
|
||||||
# run: |
|
run: |
|
||||||
# mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
# echo $KEY | base64 -d >> ~/.ssh/id_rsa
|
echo $KEY | base64 -d >> ~/.ssh/id_rsa
|
||||||
# chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
# rsync -az -zz -r --del -e 'ssh -p 2222 -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o StrictHostKeyChecking=no' ${{ github.workspace }}/_pkg/{*.zst,*.db.tar.gz,*.files.tar.gz} $USER@$HOST:/srv/http/myservermanager.com/htdocs/aur/
|
rsync -az -zz -r --del -e 'ssh -p 2222 -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o StrictHostKeyChecking=no' ${{ github.workspace }}/_pkg/{*.zst,*.db.tar.gz,*.files.tar.gz} $USER@$HOST:/srv/http/myservermanager.com/htdocs/aur/
|
||||||
|
|
Loading…
Reference in a new issue