Skip to content

disable timeout

disable timeout #180

name: github pages
on:
push:
branches: [ master ]
permissions:
contents: write
jobs:
deploy:
name: Deploy to github pages
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip deploy')"
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'npm'
- run: npm ci
- name: Cache imagemin
uses: actions/cache@v3
with:
path: tmp/gulp-cache/imagemin
key: gulp-imagemin-${{ hashFiles('node_modules/imagemin-?*/package.json') }}
- run: cp .env.master .env
- name: Build
run: npm run production
env:
APP_BASE_URL: /minter-console-web/
- run: cp ./dist/200.html ./dist/404.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist