Merge pull request 'added gitea CI/CD pipepline' (#3) from dev into main
Some checks failed
Deploy Next.js App / deploy (push) Failing after 0s
Some checks failed
Deploy Next.js App / deploy (push) Failing after 0s
Reviewed-on: #3
This commit is contained in:
commit
fb90fb637a
19
.gitea/workflows/deploy.yml
Normal file
19
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Deploy Next.js App
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: linux
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
run: git pull origin main
|
||||||
|
|
||||||
|
- name: Set up Docker Compose
|
||||||
|
run: |
|
||||||
|
docker compose down
|
||||||
|
docker compose build
|
||||||
|
docker compose up -d
|
||||||
Loading…
x
Reference in New Issue
Block a user