Skip to content

Deploy to root on dashboard.github.com #5

Deploy to root on dashboard.github.com

Deploy to root on dashboard.github.com #5

Workflow file for this run

name: deploy-dashboard
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
HAVE_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN != '' }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Build the dashboard
run: |
./gradlew
- name: Deploy to gh-pages
if: ${{ env.HAVE_ACCESS_TOKEN == 'true' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/dist
token: ${{ secrets.ACCESS_TOKEN }}
branch: gh-pages
target-folder: /