diff --git a/.github/workflows/build-deploy-dev-demo.yml b/.github/workflows/build-deploy-dev-demo.yml deleted file mode 100644 index 25d65190..00000000 --- a/.github/workflows/build-deploy-dev-demo.yml +++ /dev/null @@ -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 - diff --git a/.github/workflows/build-docs-site.yml b/.github/workflows/build-docs-site.yml new file mode 100644 index 00000000..dd5b187f --- /dev/null +++ b/.github/workflows/build-docs-site.yml @@ -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 diff --git a/.github/workflows/generate-contributors.yml b/.github/workflows/generate-contributors.yml deleted file mode 100644 index f2416011..00000000 --- a/.github/workflows/generate-contributors.yml +++ /dev/null @@ -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