Skip to content

Merge pull request #3587 from MaYunFei/patch-1 #3612

Merge pull request #3587 from MaYunFei/patch-1

Merge pull request #3587 from MaYunFei/patch-1 #3612

name: build and deploy
on:
push:
branches:
- source
jobs:
build:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: install
run: |
npm install
- name: build
run: |
ls -la
npm run build
- name: git status
run: |
git status
- name: working dir
run: |
cd public
pwd
ls -la
- name: Gatsby Publish
uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.SEKRED2 }}