diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..2e780d5 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,25 @@ +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: jrwrigh/jrwrigh.github.io + TOKEN: ${{ secrets.TOKEN }} + CNAME: www.thanwer.com \ No newline at end of file