From 0762a4cca58e19dde060914c724bc157ff1f7e20 Mon Sep 17 00:00:00 2001 From: Pietro Arancibia Date: Sun, 20 Sep 2020 10:18:14 -0300 Subject: [PATCH] Create deploy action. --- .github/workflows/deploy.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/deploy.yml 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