Skip to content

Merge pull request #775 from nakata5321/wiki_rework #558

Merge pull request #775 from nakata5321/wiki_rework

Merge pull request #775 from nakata5321/wiki_rework #558

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Robonomics Wiki
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: Install and Build 🔧
run: |
sudo yarn global add @gridsome/cli
yarn install
gridsome build
env:
GRIDSOME_PERSONAL_TOKEN: ${{ secrets.GRIDSOME_PERSONAL_TOKEN }}
GRIDSOME_GSCRIPTID: ${{ secrets.GRIDSOME_GSCRIPTID }}
GRIDSOME_CAPTCHAID: ${{ secrets.GRIDSOME_CAPTCHAID }}
- name: Deploy
#uses: JamesIves/[email protected]
#with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BRANCH: gh-pages # The branch the action should deploy to.
# FOLDER: dist # The folder the action should deploy.
# CLEAN: true # Automatically remove deleted files from the deploy branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: wiki.robonomics.network