Remove debug step and add -n to echo
Some checks failed
/ build (push) Failing after 5m28s

This commit is contained in:
Alexander Schäferdiek 2023-08-18 00:07:17 +02:00
parent 5d1fa6d179
commit 9ba8c874c3

View file

@ -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/