generated from fahricansecer/boilerplate-fe
main
All checks were successful
UI Deploy - indir.bilgich.com 🎨 / build-and-deploy (push) Successful in 4m8s
All checks were successful
UI Deploy - indir.bilgich.com 🎨 / build-and-deploy (push) Successful in 4m8s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: UI Deploy (Next-Auth Support) 🎨
|
||||
run-name: ${{ gitea.actor }} frontend güncelliyor...
|
||||
name: UI Deploy - indir.bilgich.com 🎨
|
||||
run-name: ${{ gitea.actor }} indir-fe güncelliyor...
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -19,19 +19,19 @@ jobs:
|
||||
--build-arg NEXT_PUBLIC_API_URL='${{ secrets.NEXT_PUBLIC_API_URL }}' \
|
||||
--build-arg NEXT_PUBLIC_AUTH_REQUIRED='${{ secrets.NEXT_PUBLIC_AUTH_REQUIRED }}' \
|
||||
--build-arg NEXT_PUBLIC_GOOGLE_API_KEY='${{ secrets.NEXT_PUBLIC_GOOGLE_API_KEY }}' \
|
||||
-t frontend-proje:latest .
|
||||
-t ui-indir:latest .
|
||||
|
||||
- name: Eski Konteyneri Sil
|
||||
run: docker rm -f frontend-container || true
|
||||
run: docker rm -f ui-indir-container || true
|
||||
|
||||
- name: Yeni Versiyonu Başlat
|
||||
# Sunucu tarafında (Server-side/Auth) lazım olanları run anında veriyoruz
|
||||
run: |
|
||||
docker run -d \
|
||||
--name frontend-container \
|
||||
--name ui-indir-container \
|
||||
--restart always \
|
||||
--network gitea-server_gitea \
|
||||
-p 1800:3000 \
|
||||
-p 1507:3000 \
|
||||
-e NEXTAUTH_SECRET='${{ secrets.NEXTAUTH_SECRET }}' \
|
||||
-e NEXTAUTH_URL='${{ secrets.NEXTAUTH_URL }}' \
|
||||
frontend-proje:latest
|
||||
ui-indir:latest
|
||||
Reference in New Issue
Block a user