Init NextJS
This commit is contained in:
parent
a3a53a68ec
commit
7fee80308c
52 changed files with 465 additions and 3542 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
|
@ -1,20 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly
|
||||
|
||||
name: Web Build
|
||||
jobs:
|
||||
install_dependencies_and_build:
|
||||
name: Install Dependencies and Build Web
|
||||
runs-on: web-self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: git pull
|
||||
working-directory: /home/neko/Git/imnyang
|
||||
- run: bun install
|
||||
working-directory: /home/neko/Git/imnyang
|
||||
- run: bun run build.ts --outdir=dist --minify --source-map=linked
|
||||
working-directory: /home/neko/Git/imnyang
|
||||
- run: rm -rf /var/static/imnya.ng && cp -r dist /var/static/imnya.ng
|
||||
working-directory: /home/neko/Git/imnyang
|
||||
Loading…
Add table
Add a link
Reference in a new issue