Skip to content

updated build script #12

updated build script

updated build script #12

Workflow file for this run

name: deploy 2 nekoweb
on: [push]
jobs:
deployer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: setting up .env file
run: |
echo -e "NEKOWEB_API_KEY=${{ secrets.NEKOWEB_API_KEY }}\n" >> .env
echo -e "NEKOWEB_TOKEN=${{ secrets.NEKOWEB_TOKEN }}\n" >> .env
- name: installing dependencies
run: npm ci
- name: building code
run: npm run build
- name: deploying to nekoweb
run: node scripts/neko.cjs