Skip to content

Remove gatsby-plugin-offline #16

Remove gatsby-plugin-offline

Remove gatsby-plugin-offline #16

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_ACCESS }}
- name: Setup
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install
run: npm install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build
continue-on-error: false
run: npm run-script build
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public
publish_branch: public