Skip to content

improve light mode

improve light mode #3

Workflow file for this run

# This Workflow builds a webapp with npm and deploys it to pages on version tags
# assumes building to the "dist" directory
name: Simple Web App CI
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v3
- name: Setup | Node Install
run: npm ci
- name: Build | Build App
run: npm run build
- name: Build | Upload Artifact
uses: actions/[email protected]
with:
path: dist
retention-days: 7
deploy:
name: Deploy
needs:
- build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy | GitHub Pages
id: deployment
uses: actions/deploy-pages@v1