mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-27 07:34:43 +02:00
👷 Adds action to build docs site
This commit is contained in:
parent
0c0a5828fe
commit
8593fbfc3c
24
.github/workflows/build-deploy-dev-demo.yml
vendored
24
.github/workflows/build-deploy-dev-demo.yml
vendored
@ -1,24 +0,0 @@
|
|||||||
# This action builds and deploys the master branch
|
|
||||||
name: Deploy demo of current version
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout 🛎️
|
|
||||||
uses: actions/checkout@v2.3.1
|
|
||||||
- name: Install and Build 🔧
|
|
||||||
run: |
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
- name: Deploy 🚀
|
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.4
|
|
||||||
with:
|
|
||||||
branch: dev-demo
|
|
||||||
folder: dist
|
|
||||||
|
|
15
.github/workflows/build-docs-site.yml
vendored
Normal file
15
.github/workflows/build-docs-site.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Builds and published Dashy's documentation website
|
||||||
|
name: Build Docs Site
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.ref == 'refs/heads/WEBSITE/docs-site-source'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- uses: redkubes/docusaurus-deploy-action@master
|
||||||
|
with:
|
||||||
|
source-folder: /
|
||||||
|
git-user: ${{ github.actor }}
|
||||||
|
git-password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
deployment-branch: gh-pages
|
15
.github/workflows/generate-contributors.yml
vendored
15
.github/workflows/generate-contributors.yml
vendored
@ -1,15 +0,0 @@
|
|||||||
name: Contributors
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 1 * * 0' # At 01:00 on Sunday.
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
jobs:
|
|
||||||
contributors:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: bubkoo/contributors-list@v1
|
|
||||||
with:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
svgPath: docs/assets/CONTRIBUTORS.svg
|
|
Loading…
x
Reference in New Issue
Block a user