Skip to content

Bump es5-ext from 0.10.62 to 0.10.64 #45

Bump es5-ext from 0.10.62 to 0.10.64

Bump es5-ext from 0.10.62 to 0.10.64 #45

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 }}