mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
884c68b239
* Add Documentation * git ignore dist and node_modules filder * Update dependencies * Add GH Actions to test build * Update header to latest Quasar spec * resolve c&p issue * Update splashscreens * Add docs deploy
39 lines
806 B
YAML
39 lines
806 B
YAML
name: Build & Deploy
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
|
|
######################
|
|
#### Documentation ###
|
|
######################
|
|
|
|
docs:
|
|
name: Documentation
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
# Install dependencies
|
|
- name: Setup node 12
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '12'
|
|
|
|
# Build Docs
|
|
- name: Build docs
|
|
run: |
|
|
cd docs
|
|
npm install -g yarn
|
|
yarn install
|
|
yarn docs:build
|
|
# Deploy to gh-pages
|
|
- name: Deploy to gh-pages
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./docs/dist
|
|
cname: docs.hyperion-project.org
|