Skip to content

disable Scarlet Showcase #248

disable Scarlet Showcase

disable Scarlet Showcase #248

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Use Node.js (Latest)
uses: actions/setup-node@v2
with:
node-version: '14'
check-latest: true
- name: Build
run: |
npm install -g @angular/cli
npm install
npm run build
cp dist/index.html dist/404.html
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.