Compare commits

..

2 Commits

Author SHA1 Message Date
14c677d888 maybe this'll help me identify the issue
Some checks failed
pipeline / deploy-job (push) Failing after 27s
2024-09-18 19:56:07 +03:00
390a78c6fe updoot action 2024-09-18 12:35:24 +03:00

View File

@ -29,13 +29,14 @@ jobs:
- name: init ssh
run: |
mkdir -p ~/.ssh
echo "${{ secrets.PRIVKEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.PRIVKEY }}" | base64 -d > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- name: delete new files so we don't screw up stuff
run: |
ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "rm -rf /var/www/mail.fzorb.xyz/*"
ssh -v -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "rm -rf /var/www/mail.fzorb.xyz/*"
- name: upload new files
run: |