Add a WE DO THIS NOT BECAUSE IT IS EASY, BUT BECAUSE WE THOUGHT IT WO… #402
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: "0.60.1" | |
- name: Build | |
run: hugo --config=config.toml,google_analytics.toml | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
external_repository: hueypark/hueypark.github.io | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_branch: master | |
publish_dir: ./public | |
cname: marsettler.com |