Skip to content

Merge branch 'main' of github.com:BelgianNoise/bingo-card-generator i… #39

Merge branch 'main' of github.com:BelgianNoise/bingo-card-generator i…

Merge branch 'main' of github.com:BelgianNoise/bingo-card-generator i… #39

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧
run: |
npm ci
npm run build
# Github Pages does not automatically serve the index.html file when a 404 is encountered.
- name: Copy index.html to 404.html 📑
run: cp dist/index.html dist/404.html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.