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

2
config/application.rb

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

Loading…
Cancel
Save