Browse Source

Temp deploy to aws without requiring secure cookies for testing purposes

AwsInsecure
Rachael Booth 1 year ago committed by Sam Seed
parent
commit
df6c4718c4
  1. 5
      .github/workflows/staging_pipeline.yml
  2. 2
      config/application.rb

5
.github/workflows/staging_pipeline.yml

@ -4,6 +4,7 @@ on:
push:
branches:
- main
- AwsInsecure
pull_request:
types:
- opened
@ -233,8 +234,8 @@ jobs:
aws_deploy:
name: AWS Deploy
if: github.ref == 'refs/heads/main'
needs: [lint, test, feature_test, audit]
if: github.ref == 'refs/heads/AwsInsecure'
#needs: [lint, test, feature_test, audit]
uses: ./.github/workflows/aws_deploy.yml
with:
aws_account_id: 107155005276

2
config/application.rb

@ -39,7 +39,7 @@ module DataCollector
config.session_store(
:cookie_store,
key: "_data_collector_session",
secure: (Rails.env.production? || Rails.env.staging? || Rails.env.review?)
secure: false
)
config.generators do |g|

Loading…
Cancel
Save