Skip to content

Commit

Permalink
Merge pull request #220 from semantic-systems/abdullah-rana-patch-5
Browse files Browse the repository at this point in the history
Update main.yml
  • Loading branch information
abdullah-rana authored Jul 8, 2024
2 parents e2d3af1 + 74d773b commit e7c9dc0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: main
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- name: 'Stop the running NFDI Search Engine'
run: docker compose down
- name: 'Delete old Docker image'
run: docker image rm nfdi-search-engine-search-engine
- name: 'Copy logging.conf'
run: cp logging.conf.example logging.conf
- name: 'Set environment variables'
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: cp logging.conf.example logging.conf
- name: 'Re-build Docker container from current source'
run: docker compose up --force-recreate --build --detach

0 comments on commit e7c9dc0

Please sign in to comment.