Skip to content

Update docusaurus.config.js #72

Update docusaurus.config.js

Update docusaurus.config.js #72

Workflow file for this run

name: Documentation
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
check:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '16.x'
cache: npm
- name: Build website
run: make build
release:
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'weaveworks-liquidmetal' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '16.x'
cache: npm
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_DEPLOY_KEY }}
- name: Release to GitHub Pages
env:
USE_SSH: true
GIT_USER: git
DEPLOYMENT_BRANCH: gh-pages
run: |
git config --global user.email "[email protected]"
git config --global user.name "weaveworks-docs-bot"
make deploy