Feature/33 api fails when no pilots or logbook entries #35
9
.github/workflows/api.yaml
vendored
9
.github/workflows/api.yaml
vendored
@@ -42,22 +42,21 @@ jobs:
|
||||
run: |
|
||||
pnpm --filter api build
|
||||
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log into Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push to registry
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: noahspan/flying-api:${{ inputs.version_number }}
|
||||
file: ./api/Dockerfile
|
||||
context: ./api
|
||||
context: api
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
4
.github/workflows/app.yaml
vendored
4
.github/workflows/app.yaml
vendored
@@ -31,12 +31,12 @@ jobs:
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
pnpm install --prod --frozen-lockfile
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
working-directory: app
|
||||
run: |
|
||||
pnpm run build
|
||||
pnpm --filter app build
|
||||
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "api",
|
||||
"version": "0.0.11",
|
||||
"version": "0.0.12",
|
||||
"description": "",
|
||||
"author": "",
|
||||
"private": true,
|
||||
|
||||
Reference in New Issue
Block a user