Skip to content

Commit

Permalink
make cd github actions pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ssupecial committed Oct 24, 2024
1 parent 01bd913 commit 28853a2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CD - Web
on:
push:
branches: [ "main" ]

jobs:
deploy:
runs-on: self-hosted

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Docker
uses: docker/setup-buildx-action@v2

- name: Run Docker Compose
working-directory: ./web
run: docker-compose up -d --build

0 comments on commit 28853a2

Please sign in to comment.