Skip to content

docs: more on install #32

docs: more on install

docs: more on install #32

Workflow file for this run

name: Publish Website
on:
pull_request:
branches: [main, gh-pages]
push:
branches: [main, gh-pages]
workflow_dispatch:
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Test Build
working-directory: ./gefyra
run: |
npm i
npm run build
gh-release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Build
working-directory: ./gefyra
run: |
npm i
npm run build
- name: Release to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./gefyra/build
cname: gefyra.dev