Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
feat: update staging commands
Browse files Browse the repository at this point in the history
  • Loading branch information
arantespp committed May 11, 2021
1 parent 922d797 commit 7a6b553
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cicd/carlin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pipelines:
- pr
# - main
- main
sshKey: './ssh-key'
sshUrl: [email protected]:ttoss/carlin.git
9 changes: 6 additions & 3 deletions packages/cli/src/deploy/cicd/pipelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ export const getClosedPrCommands = ({ branch }: { branch: string }) => [
];

export const getMainCommands = () => [
'yarn',
'git status',
'git fetch',
'git pull origin main',
'yarn test',
'CARLIN_ENVIRONMENT=Staging yarn deploy',
'yarn',
`export CARLIN_ENVIRONMENT=Staging`,
`npx lerna run "test" --stream --parallel`,
`npx lerna run "build" --stream --parallel`,
`npx lerna run "deploy" --stream --parallel`,
];

0 comments on commit 7a6b553

Please sign in to comment.