use action
Some checks failed
Gitea Actions Demo / checkout (push) Failing after 3s

This commit is contained in:
Maximilian Keßler 2023-10-17 15:51:58 +02:00
parent ce524933d6
commit 6bca998420
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -24,13 +24,5 @@ jobs:
run: | run: |
mkdir public mkdir public
mv main.pdf main.log public mv main.pdf main.log public
cd public
zip main.zip main.pdf main.log
tree -H '.' -I "index.html" -D --charset utf-8 -T "CI test" > index.html
- name: deploy - name: deploy
run: | uses: actions/pages
echo "${{ secrets.deploy_ssh_key }}" >> privkey
chmod 600 privkey
echo "abstractnonsen.se ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAufJTq206GOv0D8gHs2o3eDusLNWaB0U7JRhUYnux9B" >> ~/.ssh/known_hosts
tar -C public -czf - . | ssh -o "IdentitiesOnly=yes" -i privkey pages@abstractnonsen.se