Skip to content

Commit

Permalink
Updated ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ertush committed Feb 26, 2024
1 parent 5ba1cbc commit 1887dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1887dad

Please sign in to comment.