Skip to content

➖ Remove Unused Packages #42

➖ Remove Unused Packages

➖ Remove Unused Packages #42

Workflow file for this run

name: Publish Site
on:
push:
branches: [main]
jobs:
publish:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- uses: fregante/setup-git-user@v1
- name: Install Dependencies
run: npm install
- name: Build Site
run: npm run build
- name: Publish Site
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy --silent
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}