on: [push] jobs: build: runs-on: docker container: image: alpine:latest steps: - run: apk add hugo - run: apk add git - run: apk add openssh - run: mkdir .ssh - run: echo "${{ secrets.KEY }}" > .ssh/id_ed25519 - run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com . - run: hugo - run: scp -o "Port 24" -r public svante@vanten-s.com:nginx-docker/vanten-s.com/