Skip to content

switching ord to book-monkey5/api4-build #6

switching ord to book-monkey5/api4-build

switching ord to book-monkey5/api4-build #6

Workflow file for this run

name: Build and deploy API
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npm run build
# Koyeb kann nur eine GitHub org linken...
- name: Deploy API to book-monkey5/api4-build (main branch)
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_ORG: https://github.com/book-monkey5
GITHUB_NAME: The Buildbot
GITHUB_EMAIL: buildbot@angular2buch.de
NAME: api4-build
run: npx angular-cli-ghpages --repo "$GITHUB_ORG/$NAME.git" --name "$GITHUB_NAME" --email "$GITHUB_EMAIL" --branch main --message "Auto-generated commit" --no-silent