Skip to content

Commit

Permalink
ci: add deploy-backend action
Browse files Browse the repository at this point in the history
  • Loading branch information
Favo02 committed Apr 21, 2024
1 parent f77fa84 commit fe408b8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy-backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: deploy-backend

on:
push:
branches: [ "main" ]

steps:
- uses: actions/checkout@v3
name: Check out code

- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push Docker image
with:
image: cess-advisor-backend
tags: latest
registry: ghcr.io
dockerfile: Dockerfile
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
13 changes: 0 additions & 13 deletions docker-compose.yml

This file was deleted.

0 comments on commit fe408b8

Please sign in to comment.