Skip to content

Merge pull request #18 from liquidmetal-dev/richardcase-patch-1 #73

Merge pull request #18 from liquidmetal-dev/richardcase-patch-1

Merge pull request #18 from liquidmetal-dev/richardcase-patch-1 #73

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/ssh-agent@v0.5.0
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 "noreply@github.com"
git config --global user.name "weaveworks-docs-bot"
make deploy