name: build with hugo and deploy run-name: ${{ github.actor }} is learning how to build and deploy on: [push] jobs: check-bats-version: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: apt install hugo - run: hugo - uses: garygrossgarten/github-action-scp@release with: local: public/ remote: ${{ secrets.DEST }} host: ${{ secrets.HOST }} username: ${{ secrets.USER }} password: ${{ secrets.PASS }}