search: check fields for falsy values #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- name: Deploy API to book-monkey5/api5-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: api5-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 |