Skip to content

Commit

Permalink
feat: sandbox deploy (#805)
Browse files Browse the repository at this point in the history
Signed-off-by: hxtree <[email protected]>
  • Loading branch information
hxtree authored Feb 10, 2024
1 parent 4758818 commit a086d75
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/call-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# libray and platform dependencies MUST be published to npm
# prior to services being deployed to S3 dependencies to ensure dependencies are avaliable
# all library and platform dependencies MUST be published to npm BEFORE deploying
# services to S3 to ensure that dependencies are available.

name: Deploy Artifacts

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/on-labeled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Labeled

on:
pull_request:
types:
- labeled

jobs:
Deploy:
if: |
github.event.label.name == 'sandbox'
uses: ./.github/workflows/call-deploy.yml
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}

0 comments on commit a086d75

Please sign in to comment.