Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(workflows) #16

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy_database_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: actions/checkout@v3
- name: Upgrade database
run: docker-compose up -d backend_upgrade
- name: Stop container
run: docker-compose stop -d backend_upgrade
- name: Stop & remove container
run: docker-compose stop backend_upgrade && docker-compose rm -f backend_upgrade
- name: Remove image
run: docker rmi elki_97413/onisep_backend_update:latest
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
secrets: inherit
deploy-api:
runs-on: self-hosted

needs: [deploy-datatabse]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
Loading