Fix typo and add adivce where to file docs issues #39
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: website | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install extended version of Hugo | |
run: | | |
wget -O - -o /dev/null https://github.com/gohugoio/hugo/releases/download/v0.79.0/hugo_extended_0.79.0_Linux-64bit.deb | tee /tmp/hugo.deb | |
sudo dpkg -i /tmp/hugo.deb | |
- name: Generate Hugo pages | |
run: | | |
git submodule init | |
git submodule update --recursive | |
hugo --minify | |
echo -n "burmillaos.org" > public/CNAME | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: public | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |