Skip to content

attack dist update

attack dist update #85

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "lts/*"
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: "10.14.0"
- name: Install dependencies
run: pnpm install
- name: Build the project
run: pnpm run export
env:
NODE_ENV: production
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
publish_branch: gh-pages
force_orphan: true
cname: nginx.aldotobing.online