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 echo "abstractnonsen.se ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAufJTq206GOv0D8gHs2o3eDusLNWaB0U7JRhUYnux9B" >> ~/.ssh/known_hosts tar -czf -C . main.pdf main.log | ssh -o "IdentitiesOnly=yes" -i privkey pages@abstractnonsen.se