Skip to content

resolved conflicts

resolved conflicts #58

Workflow file for this run

name: 'Deploy NFDI Search Engine on sems-kg-1'
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
steps:
- name: 'Check out repo'
uses: actions/checkout@v3
with:
ref: main
- 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'
<<<<<<< HEAD

Check failure on line 21 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
run: cp logging.conf.example logging.conf
=======
run: cp logging.conf.example logging.conf
>>>>>>> origin/develop
- name: 'Create .env'
run: |
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" >> ./.env
- name: 'Re-build Docker container from current source'
run: docker compose up --force-recreate --build --detach