19 lines
479 B
YAML
19 lines
479 B
YAML
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:
|
|
build:
|
|
name: Build the web
|
|
runs-on: web-self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: pwd && ls -al
|
|
- run: bun install
|
|
- run: bun run build
|
|
- run: rm -rf /var/static/imnya.ng
|
|
- run: cp -r dist /var/static/imnya.ng
|
|
|
|
|