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: 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 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