Skip to content

Commit

Permalink
Remove the staging environment from workflows
Browse files Browse the repository at this point in the history
This isn't in use
  • Loading branch information
seanh committed Sep 21, 2023
1 parent 37073bc commit d936736
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 35 deletions.
7 changes: 0 additions & 7 deletions .cookiecutter/includes/.github/workflows/environments.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
"elasticbeanstalk_application": "test-pyramid-app",
"elasticbeanstalk_environment": "qa"
},
"staging": {
"github_environment_name": "Staging",
"github_environment_url": "https://test-pyramid-app.staging.hypothes.is",
"aws_region": "us-west-1",
"elasticbeanstalk_application": "test-pyramid-app",
"elasticbeanstalk_environment": "staging"
},
"production": {
"needs": ["qa"],
"github_environment_name": "Production",
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ jobs:
elasticbeanstalk_environment: qa
docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}
secrets: inherit
staging:
name: Staging
needs: [docker_hub]
uses: hypothesis/workflows/.github/workflows/deploy.yml@main
with:
operation: deploy
github_environment_name: Staging
github_environment_url: https://test-pyramid-app.staging.hypothes.is
aws_region: us-west-1
elasticbeanstalk_application: test-pyramid-app
elasticbeanstalk_environment: staging
docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}
secrets: inherit
production:
name: Production
needs: [docker_hub, qa]
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/redeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
qa:
type: boolean
description: Redeploy QA
staging:
type: boolean
description: Redeploy Staging
production:
type: boolean
description: Redeploy Production
Expand All @@ -27,18 +24,6 @@ jobs:
elasticbeanstalk_application: test-pyramid-app
elasticbeanstalk_environment: qa
secrets: inherit
staging:
name: Staging
if: inputs.staging
uses: hypothesis/workflows/.github/workflows/deploy.yml@main
with:
operation: redeploy
github_environment_name: Staging
github_environment_url: https://test-pyramid-app.staging.hypothes.is
aws_region: us-west-1
elasticbeanstalk_application: test-pyramid-app
elasticbeanstalk_environment: staging
secrets: inherit
production:
name: Production
if: inputs.production
Expand Down

0 comments on commit d936736

Please sign in to comment.