Skip to content

Merge pull request #188 from makevook/issue/185 #83

Merge pull request #188 from makevook/issue/185

Merge pull request #188 from makevook/issue/185 #83

Workflow file for this run

name: Deploy to Dev Environment
on:
workflow_dispatch:
push:
branches:
- develop
paths:
- "server/**"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Deploy
uses: dagger/dagger-for-github@v5
env:
SSH_DEST: ${{ secrets.DEV_SSH_DEST }}
SSH_KEY: ${{ secrets.DEV_SSH_KEY }}
with:
version: 0.12.0
verb: call
module: ./cicd
args: >-
deploy
--source-dir=server
--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"