Skip to content

chore: Update README.md #190

chore: Update README.md

chore: Update README.md #190

name: Publish to GitHub Pages
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
env:
CI: true
- name: Install Packages
run: npm ci
- name: Build prod
run: npm run build:prod --if-present
- name: Deploy to Github Pages
uses: crazy-max/ghaction-github-pages@v4
with:
build_dir: dist/developerli
fqdn: developer.li
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}