feat: added github CIs

This commit is contained in:
montaghanmy
2023-03-31 09:26:38 +01:00
parent 41b86c452c
commit cc2f8543a9
11 changed files with 512 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Documentation
on:
push:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16
- run: npm install -g yarn
- run: cd Documentation && yarn install --frozen-lockfile
- name: Build
run: cd Documentation && yarn docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: Documentation/docs/.vitepress/dist