feat: 기존 model 및 logic을 데모 전용으로 변경 #15
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.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.4 | |
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" |