-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add preview deployments for examples
- Loading branch information
samuelarbibe
committed
Jun 29, 2024
1 parent
42c9f82
commit 901b980
Showing
5 changed files
with
60 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
environment: | ||
required: true | ||
type: string | ||
isProd: | ||
required: true | ||
type: boolean | ||
|
||
jobs: | ||
deploy_timeaxis: | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment: ${{ inputs.environment }} - dnd-timeline-timeaxis | ||
isProd: ${{ inputs.isProd }} | ||
secrets: inherit | ||
|
||
deploy_performance: | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment: ${{ inputs.environment }} - dnd-timeline-performance | ||
isProd: ${{ inputs.isProd }} | ||
secrets: inherit | ||
|
||
deploy_demo: | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment: ${{ inputs.environment }} - dnd-timeline-demo | ||
isProd: ${{ inputs.isProd }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Production - Deploy dnd-timeline examples | ||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
deploy_production: | ||
uses: ./.github/workflows/deploy-examples.yml | ||
with: | ||
environment: Preview | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Production - Deploy dnd-timeline examples | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy_production: | ||
uses: ./.github/workflows/deploy-examples.yml | ||
with: | ||
environment: Production | ||
isProd: true | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.