Skip to content

Bump postcss, autoprefixer and gulp-postcss #41

Bump postcss, autoprefixer and gulp-postcss

Bump postcss, autoprefixer and gulp-postcss #41

Workflow file for this run

name: Website CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.85.0'
- uses: bahmutov/npm-install@v1
- uses: c-hive/gha-npm-cache@v1
- name: Install NPM packages
run: |
npm install
npm install gulp-cli
node node_modules/gulp/bin/gulp build
- name: Build
run: hugo --minify
- name: HTMLTest
if: false # TODO
run: |
curl -Lk https://github.com/wjdp/htmltest/releases/download/v0.4.1/htmltest-linux -o ~/htmltest && chmod +x "$_"
~/htmltest
- name: Deploy
if: ${{ github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}