diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9192401..c6c17184 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ hotfix-dev-6d718bf ] + branches: [ main ] env: NEXT_PUBLIC_API_URL: 'https://api.kmhfl.health.go.ke/api' @@ -64,7 +64,7 @@ jobs: if ! [[ -d './.git' ]]; then git init; fi if ! [[ `git remote -v | awk '{print $1}' | head -n 1` =~ 'origin' ]]; then git remote add origin ${{ github.server_url }}${{ github.username }}/${{ github.repository }}.git; fi git stash - git pull origin hotfix-dev-6d718bf + git pull origin main pnpm install pnpm run build pnpm dlx pm2 startOrRestart ecosystem.config.js --env local