Skip to content

Commit

Permalink
feat: add cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-TanHoang committed Jan 13, 2025
1 parent 6b47395 commit 9fa18d4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/auto-deploy-develop-v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy [develop] Mina Bridge
run-name: ${{ github.actor }} is deploying develop branch [dev] 🌏 🚀 🛰️ 🌕
on:
push:
branches:
- 'develop-phase-2'
jobs:
DeployDevelop:
runs-on: [self-hosted, mina-bridge-dev-v2]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: v18.20.4
- run: |
echo "${{ secrets.MINA_BRIDGE_BE_DEV_2 }}" >> .env
docker build . -t mina-bridge:1.0.0
docker compose -f docker-compose.dev.yaml up -d --remove-orphans

0 comments on commit 9fa18d4

Please sign in to comment.