+ /dist/package-lock.json #7
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 | |
# 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: [email protected] | |
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 |