Cleaning up deps #50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # name: Deploy Production Backend | |
| # on: | |
| # push: | |
| # branches: ['production'] | |
| # workflow_dispatch: | |
| # jobs: | |
| # deploy: | |
| # runs-on: self-hosted | |
| # timeout-minutes: 15 | |
| # steps: | |
| # - name: Checkout code | |
| # uses: actions/checkout@v4 | |
| # - name: Build Docker image | |
| # run: | | |
| # docker build -t project-showcase-backend:latest . | |
| # - name: Deploy new container | |
| # run: | | |
| # # Stop and remove existing container if running | |
| # docker stop project-showcase-backend || true | |
| # docker rm project-showcase-backend || true | |
| # # Run new container | |
| # docker run -d \ | |
| # --name project-showcase-backend \ | |
| # --restart unless-stopped \ | |
| # -p 8000:8000 \ | |
| # --env-file ${{ secrets.ENV_FILE_PATH }} \ | |
| # -v ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PATH }}:/app/firebase-service-account.json:ro \ | |
| # -v ${{ secrets.DATABASE_PATH }}:/app/data/sqlite.db \ | |
| # project-showcase-backend:latest |