From 9e6694a91c2820e0dae1231ded1b65e68df28fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Tue, 17 Oct 2023 14:46:20 +0200 Subject: [PATCH] deploy to pages --- .gitea/workflows/demo.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 137397c..2f39854 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -20,8 +20,8 @@ jobs: - name: compile run: | latexmk main.tex - - name: upload - uses: actions/upload-artifact@v3 - with: - name: out.pdf - path: main.pdf + - name: deploy + run: | + echo ${{ secrets.deploy_ssh_key }} >> privkey + chmod 600 privkey + tar -czf -C . main.pdf main.log | ssh -o "IdentitiesOnly=yes" -i privkey pages@abstractnonsen.se