Update intro text (#32) #186
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: Test build | |
on: | |
push: | |
jobs: | |
test-build: | |
runs-on: ubuntu-latest | |
env: | |
HUGO_VERSION: 0.116.1 | |
steps: | |
- name: 🛎 Check out repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Use Node.js | |
uses: actions/setup-node@master | |
with: | |
node-version: 10.x | |
- run: npm i -g postcss postcss-cli autoprefixer | |
- name: 🤵 Install Hugo | |
run: | | |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ | |
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb | |
- name: 🍳 Build site | |
run: | | |
hugo --gc --minify |