feat, docs: bean validator 추가, API 공통 반환 형식 변경, OpenAPI 리팩토링 #27
Workflow file for this run
This file contains 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 to Dev Environment | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- develop | |
types: | |
- closed | |
jobs: | |
deploy: | |
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.2' | |
- name: Deploy | |
uses: dagger/dagger-for-github@v5 | |
env: | |
SSH_DEST: ${{ secrets.DEV_SSH_DEST }} | |
SSH_KEY: ${{ secrets.DEV_SSH_KEY }} | |
with: | |
version: 0.11.6 | |
verb: call | |
module: ./cicd | |
args: >- | |
deploy | |
--source-dir=api | |
--profile=dev | |
--ssh-dest=env:SSH_DEST | |
--ssh-key=env:SSH_KEY | |
--target-path=~/repo/makevook/vook-deployment/dev | |
--version=${{ github.sha }} | |
--command="make deploy-api" |