Skip to content

Merge pull request #1024 from bmesuere/dependabot/npm_and_yarn/dashbo… #960

Merge pull request #1024 from bmesuere/dependabot/npm_and_yarn/dashbo…

Merge pull request #1024 from bmesuere/dependabot/npm_and_yarn/dashbo… #960

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install and Build 🔧
run: |
cd dashboard
sed -i 's|createWebHistory("/dashboard/")|createWebHistory("/vlinder/")|g' src/router/index.ts
yarn install
yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dashboard/dist