Skip to content

[Feature] Add Build and Skip params for deploy script#16

Merged
MuhammedIrfan merged 1 commit intonextfrom
feature/improve-deploy-script-build-process
Sep 26, 2021
Merged

[Feature] Add Build and Skip params for deploy script#16
MuhammedIrfan merged 1 commit intonextfrom
feature/improve-deploy-script-build-process

Conversation

@MuhammedIrfan
Copy link
Copy Markdown
Member

Description

  • Add flag --build which defaults to name of the actions separated by commas
  • Add flag --skip which accepts the name of the actions separated by commas to skip executing deploying the provided actions
  • Prevent removing previous builds
  • Closes Deploy script re-building all the actions every time #12

Usage

Scenario 1: Deploy all actions with previous builds
command: ./deploy.sh --build none

Scenario 2: Build only a certain action and rest actions to use previous builds
command: ./deploy.sh --build "balance-filter"

Scenario 3: Build only certain actions and rest actions to use previous builds
command: ./deploy.sh --build "balance-filter,push-notification"

Scenario 4: Skip building and deploying certain actions
command: ./deploy.sh --skip "balance-filter,push-notification"

Scenario 5: Build only certain actions and Skip certain actions to be build and deployed
command: ./deploy.sh --build "balance-filter,push-notification" --skip "event-registration"

@MuhammedIrfan MuhammedIrfan merged commit 517e082 into next Sep 26, 2021
@MuhammedIrfan MuhammedIrfan deleted the feature/improve-deploy-script-build-process branch September 26, 2021 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy script re-building all the actions every time

1 participant