Skip to content

Commit 2989af0

Browse files
committed
Remove staging deployments
1 parent f5e4737 commit 2989af0

File tree

3 files changed

+1
-30
lines changed

3 files changed

+1
-30
lines changed

.github/workflows/deploy-motion.yml

-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ jobs:
3131
echo "AWS_ROLE_ARN=arn:aws:iam::120317779495:role/boxel-motion" >> $GITHUB_ENV
3232
echo "AWS_S3_BUCKET=cardstack-boxel-motion-production" >> $GITHUB_ENV
3333
echo "AWS_CLOUDFRONT_DISTRIBUTION=ENCCIR73TMO8S" >> $GITHUB_ENV
34-
elif [ "$INPUT_ENVIRONMENT" = "staging" ]; then
35-
echo "AWS_ROLE_ARN=arn:aws:iam::680542703984:role/boxel-motion" >> $GITHUB_ENV
36-
echo "AWS_S3_BUCKET=cardstack-boxel-motion-staging" >> $GITHUB_ENV
37-
echo "AWS_CLOUDFRONT_DISTRIBUTION=E2ETE2PY0UMPR9" >> $GITHUB_ENV
3834
else
3935
echo "unrecognized environment"
4036
exit 1;

.github/workflows/manual-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses: ./.github/workflows/deploy-motion.yml
3535
secrets: inherit
3636
with:
37-
environment: ${{ inputs.environment }}
37+
environment: production
3838

3939
build-realm-server:
4040
name: Build Docker image

.github/workflows/pr-boxel-motion.yml

-25
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,6 @@ jobs:
3030
with:
3131
files: |
3232
packages/boxel-motion/**
33-
deploy-motion-preview-staging:
34-
name: Deploy a boxel-motion staging preview to S3
35-
runs-on: ubuntu-latest
36-
# github.event.pull_request.head.repo.full_name == github.repository: true if pr is from the original repo, false if it's from a fork
37-
# github.head_ref: the branch that the pull request is from. only appears on pull_request events
38-
if: github.event.pull_request.head.repo.full_name == github.repository && github.head_ref && needs.check-if-requires-preview.outputs.boxel-motion-files-changed == 'true'
39-
needs: check-if-requires-preview
40-
concurrency: deploy-motion-preview-staging
41-
steps:
42-
- uses: actions/checkout@v3
43-
- name: Configure AWS credentials
44-
uses: aws-actions/configure-aws-credentials@v3
45-
with:
46-
role-to-assume: arn:aws:iam::680542703984:role/boxel-motion
47-
aws-region: us-east-1
48-
- name: Deploy boxel-motion preview
49-
uses: ./.github/actions/deploy-ember-preview
50-
env:
51-
S3_PREVIEW_BUCKET_NAME: boxel-motion-preview.stack.cards
52-
AWS_S3_BUCKET: boxel-motion-preview.stack.cards
53-
AWS_REGION: us-east-1
54-
AWS_CLOUDFRONT_DISTRIBUTION: E1MA4A64V6KZJ6
55-
with:
56-
package: boxel-motion
57-
environment: staging
5833
5934
deploy-motion-preview-production:
6035
name: Deploy a boxel-motion production preview to S3

0 commit comments

Comments
 (0)