name: 'Deploy website to nest' author: '9pfs@amcforum.wiki (h @ nest)' on: push: branches: - main jobs: deploy: runs-on: docker steps: - uses: actions/checkout@v3 - id: deploy run: | mkdir ~/.ssh && \ echo ${{ secrets.DEPLOY_SSH_KEY}} | base64 -d > ~/.ssh/id_ed25519 && \ cat nest-known-hosts-cache.txt > ~/.ssh/known_hosts && \ chmod -R go-rwx ~/.ssh && \ ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt h@hackclub.app