Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 26, 2021

Conversation

MuhammedIrfan
Copy link
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