name: Build and Deploy on: push: branches: - master jobs: build: runs-on: ubuntu-latest steps: - name: Checkout master uses: actions/checkout@v1 with: submodules: true - name: Hugo Deploy GitHub Pages uses: benmatselby/hugo-deploy-gh-pages@master env: HUGO_VERSION: 0.75.1 TARGET_REPO: thanwer/thanwer.github.io TOKEN: ${{ secrets.TOKEN }} CNAME: www.thanwer.com