Skip to content

Bump follow-redirects from 1.11.0 to 1.15.4 #137

Bump follow-redirects from 1.11.0 to 1.15.4

Bump follow-redirects from 1.11.0 to 1.15.4 #137

# See https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
# and https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-static-site-generators-with-nodejs :
name: Test And Deploy
on:
pull_request:
branches:
- '**'
push:
branches:
- '**'
jobs:
test-and-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run docs:build
- if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vuepress/dist