Maximilian Keßler
15042bd293
Some checks reported warnings
Gitea Actions Demo / checkout (push) Has been cancelled
27 lines
755 B
YAML
27 lines
755 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
checkout:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: check out repo
|
|
uses: actions/checkout@v3
|
|
- name: list files
|
|
run: |
|
|
echo "In outer docker container:"
|
|
ls /workspace/testorg/ci-test
|
|
pwd
|
|
ls /home
|
|
echo "Docker images: $(docker images)"
|
|
echo "end outer print"
|
|
|
|
- name: compile
|
|
run: |
|
|
pdflatex main.tex
|
|
- 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
|