This commit is contained in:
parent
9ba8c874c3
commit
1c0c6e9362
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
pacman -Sy --noconfirm nodejs npm git
|
pacman -Sy --noconfirm nodejs npm git
|
||||||
pacman -Sy --noconfirm shellcheck openssh openssl coreutils rsync
|
pacman -Sy --noconfirm shellcheck openssh rsync
|
||||||
pacman -Scc --noconfirm
|
pacman -Scc --noconfirm
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -39,6 +39,6 @@ jobs:
|
||||||
HOST: ${{ secrets.DEPLOY_SSH_HOST }}
|
HOST: ${{ secrets.DEPLOY_SSH_HOST }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo -n $KEY | base64 -d >> ~/.ssh/id_rsa
|
echo -n $KEY | base64 -di >> ~/.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