replacing mattijs picture #20
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: Build and Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: master | |
- name: Install Hugo | |
run: | | |
wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.deb | |
sudo dpkg -i /tmp/hugo.deb | |
- name: Build Site pre | |
run: ls -lah | |
- name: Build Site | |
run: hugo --config config.toml | |
- name: Deploy Site | |
uses: JamesIves/github-pages-deploy-action@4.1.1 | |
with: | |
branch: gh-pages | |
folder: public | |
token: ${{ secrets.GITHUB_TOKEN }} | |
domain: maddvipr.org | |