Skip to content

Commit f67613b

Browse files
committed
Fixed ci, github actions, and (hopefully) future production builds on this branch
1 parent f6ca213 commit f67613b

5 files changed

Lines changed: 32 additions & 32 deletions

File tree

.github/workflows/cd-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Build and Push Docker Images
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [use_uv]
66

77
env:
88
REGISTRY: ghcr.io
9-
IMAGE_NAME: ${{ github.repository }}
9+
IMAGE_NAME: ${{ github.repository }}-${{ github.ref_name }}
1010

1111
jobs:
1212
build-and-push-client:

.github/workflows/ci-backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Backend code checks
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [use_uv]
66
pull_request:
77
types: ["opened", "synchronize", "reopened", "edited"]
88
workflow_dispatch:

.github/workflows/ci-frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Frontend code checks
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [use_uv]
66
pull_request:
77
types: ["opened", "synchronize", "reopened", "edited"]
88
workflow_dispatch:
Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
on:
2-
# cronjob trigger once a day
3-
schedule:
4-
- cron: "0 0 * * 0"
5-
# manual trigger
6-
workflow_dispatch:
7-
jobs:
8-
repo-sync:
9-
runs-on: ubuntu-latest
10-
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
11-
permissions:
12-
contents: write
13-
pull-requests: write
1+
# on:
2+
# # cronjob trigger once a day
3+
# schedule:
4+
# - cron: "0 0 * * 0"
5+
# # manual trigger
6+
# workflow_dispatch:
7+
# jobs:
8+
# repo-sync:
9+
# runs-on: ubuntu-latest
10+
# # https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
11+
# permissions:
12+
# contents: write
13+
# pull-requests: write
1414

15-
steps:
16-
# To use this repository's private action, you must check out the repository
17-
- name: Checkout
18-
uses: actions/checkout@v4
19-
with:
20-
# submodules: true
21-
token: ${{ secrets.TEMPLATE_SYNC_TOKEN }}
15+
# steps:
16+
# # To use this repository's private action, you must check out the repository
17+
# - name: Checkout
18+
# uses: actions/checkout@v4
19+
# with:
20+
# # submodules: true
21+
# token: ${{ secrets.TEMPLATE_SYNC_TOKEN }}
2222

23-
- name: actions-template-sync
24-
uses: AndreasAugustin/actions-template-sync@v2
25-
with:
26-
github_token: ${{ secrets.GITHUB_TOKEN }}
27-
source_repo_path: codersforcauses/django-nextjs-template
28-
upstream_branch: main
23+
# - name: actions-template-sync
24+
# uses: AndreasAugustin/actions-template-sync@v2
25+
# with:
26+
# github_token: ${{ secrets.GITHUB_TOKEN }}
27+
# source_repo_path: codersforcauses/django-nextjs-template
28+
# upstream_branch: main

docker-compose.prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
server:
3-
image: ghcr.io/codersforcauses/django-nextjs-template-prod-server:latest
3+
image: ghcr.io/codersforcauses/django-nextjs-template-use_uv-prod-server:latest
44
container_name: transplant_server
55
restart: unless-stopped
66
env_file: ./.env.prod
@@ -14,7 +14,7 @@ services:
1414
- DJANGO_SETTINGS_MODULE=api.settings
1515

1616
client:
17-
image: ghcr.io/codersforcauses/django-nextjs-template-prod-client:latest
17+
image: ghcr.io/codersforcauses/django-nextjs-template-use_uv-prod-client:latest
1818
container_name: transplant_client
1919
restart: unless-stopped
2020
env_file: ./.env.prod

0 commit comments

Comments
 (0)