This commit is contained in:
parent
93606c26e2
commit
f15fbb63fd
1 changed files with 8 additions and 1 deletions
|
@ -20,10 +20,17 @@ jobs:
|
||||||
- name: compile
|
- name: compile
|
||||||
run: |
|
run: |
|
||||||
pdflatex main.tex
|
pdflatex main.tex
|
||||||
|
- name: prepare pages
|
||||||
|
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
|
- name: deploy
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.deploy_ssh_key }}" >> privkey
|
echo "${{ secrets.deploy_ssh_key }}" >> privkey
|
||||||
chmod 600 privkey
|
chmod 600 privkey
|
||||||
echo "abstractnonsen.se ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAufJTq206GOv0D8gHs2o3eDusLNWaB0U7JRhUYnux9B" >> ~/.ssh/known_hosts
|
echo "abstractnonsen.se ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAufJTq206GOv0D8gHs2o3eDusLNWaB0U7JRhUYnux9B" >> ~/.ssh/known_hosts
|
||||||
tar -C . -czf - main.pdf main.log | ssh -o "IdentitiesOnly=yes" -i privkey pages@abstractnonsen.se
|
tar -C public -czf - '.*' | ssh -o "IdentitiesOnly=yes" -i privkey pages@abstractnonsen.se
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue