feature/move-to-forgejo #1
1 changed files with 3 additions and 11 deletions
|
@ -9,7 +9,8 @@ jobs:
|
|||
run: |
|
||||
pacman -Syu --noconfirm
|
||||
pacman -Sy --noconfirm nodejs npm git
|
||||
pacman -Sy --noconfirm shellcheck rsync openssh coreutils
|
||||
pacman -Sy --noconfirm shellcheck openssh openssl coreutils rsync
|
||||
pacman -Scc --noconfirm
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
name: Clone
|
||||
|
@ -18,14 +19,6 @@ jobs:
|
|||
run: |
|
||||
find usr/local/bin -type f -exec echo Testing {} \; -exec shellcheck {} \;
|
||||
|
||||
- name: DEBUG STEP
|
||||
run: |
|
||||
echo $KEY
|
||||
echo "Base 64 stuff"
|
||||
echo $KEY | base64 -d
|
||||
env:
|
||||
KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||
|
||||
- name: Build ArchLinux package
|
||||
run: |
|
||||
useradd -m build
|
||||
|
@ -46,7 +39,6 @@ jobs:
|
|||
HOST: ${{ secrets.DEPLOY_SSH_HOST }}
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
which base64
|
||||
echo $KEY | base64 -d >> ~/.ssh/id_rsa
|
||||
echo -n $KEY | base64 -d >> ~/.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/
|
||||
|
|
Loading…
Reference in a new issue