Skip to content

[#54] https://epsic.burkhalter.dev/java/structogramme #54

[#54] https://epsic.burkhalter.dev/java/structogramme

[#54] https://epsic.burkhalter.dev/java/structogramme #54

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- vue3
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build
run: |
npm install
npm run build
cp dist/index.html dist/404.html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: prod
FOLDER: dist