Skip to content

Commit

Permalink
Fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace committed Jun 12, 2024
1 parent 2e2d01d commit dc2a4f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ jobs:
deploy:
name: Deploy
needs: [ build, docker ]
# runs-on: [${{ needs.build.outputs.deploy_env }}, self-hosted]
runs-on: ubuntu-latest
runs-on: [${{ needs.build.outputs.deploy_env }}, self-hosted]
environment: ${{ needs.build.outputs.deploy_env }}
env:
THE_VERSION: ${{ needs.build.outputs.version }}
Expand Down Expand Up @@ -326,7 +325,6 @@ jobs:
# aws-secret-access-key: ${{ secrets[vars.AWS_SECRET_ACCESS_KEY_SECRET_NAME] }}
# mask-aws-account-id: true

# TODO run deploy script on self-hosted runner
- name: Create env file
id: create-env
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /maap-api-nasa
COPY pyproject.toml poetry.lock ./
RUN touch README.md

RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR
RUN poetry install --without dev && rm -rf $POETRY_CACHE_DIR

FROM python:3.9-slim as runtime

Expand Down

0 comments on commit dc2a4f6

Please sign in to comment.