Skip to content

Commit

Permalink
Merge pull request #7 from EveryFine/dev
Browse files Browse the repository at this point in the history
Remove docker image pull from the workflow
  • Loading branch information
EveryFine authored May 26, 2024
2 parents 55d3526 + dd9c85c commit 287c6e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Genius AI Main Deploy
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

env:
Expand Down Expand Up @@ -66,7 +64,6 @@ jobs:
password: ${{ env.TARGET_SSH_PASSWORD }}
port: ${{ env.TARGET_SSH_PORT }}
script: |
docker image pull ${{ steps.meta.outputs.tags }}
docker container stop geniusmain
docker container rm geniusmain
docker container run -d --name geniusmain -p ${{ env.TARGET_SERVICE_PORT }}:8501 -e OPENAI_API_KEY=${{ env.OPENAI_API_KEY }} -e TAVILY_API_KEY=${{ env.TAVILY_API_KEY }} ${{ steps.meta.outputs.tags }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
password: ${{ env.TARGET_SSH_PASSWORD }}
port: ${{ env.TARGET_SSH_PORT }}
script: |
docker image pull ${{ steps.meta.outputs.tags }}
docker container stop geniusai
docker container rm geniusai
docker container run -d --name geniusai -p ${{ env.TARGET_SERVICE_PORT }}:8501 -e OPENAI_API_KEY=${{ env.OPENAI_API_KEY }} -e TAVILY_API_KEY=${{ env.TAVILY_API_KEY }} ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 287c6e3

Please sign in to comment.