From 6bca998420af725e23bea2709d264812f8340d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Tue, 17 Oct 2023 15:51:58 +0200 Subject: [PATCH] use action --- .gitea/workflows/demo.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 755a973..da25381 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -24,13 +24,5 @@ jobs: run: | mkdir 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 - run: | - 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 - + uses: actions/pages