Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronskiba committed Jul 4, 2024
1 parent 9da8368 commit cc87cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
- name: 'Setup Credentials'
run: |
# generate a default credential file and key
export RAILS_MASTER_KEY=$(openssl rand -hex 16)
echo "RAILS_MASTER_KEY=${RAILS_MASTER_KEY}" >> $GITHUB_ENV
echo "${RAILS_MASTER_KEY}" > config/master.key
EDITOR='echo "$(cat config/credentials.yml.postgresql)" >' bundle exec rails credentials:edit
# Set the path to the wkhtmltopdf executable
Expand Down
23 changes: 0 additions & 23 deletions config/credentials.yml.postgresql
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
# DMPRoadmap Rails credentials file
# To generate secrets and peppers, run the following in another tab/window `bin/rails secret`

# Used as the base secret for all MessageVerifiers in Rails, including the one protecting cookies.
secret_key_base: my_secret_key

# Database credentials
db_username: postgres
db_password:

# Devise credentials (used for user password encryption)
secret_key: my_secret_key
devise_pepper: my_pepper

# Used by the Dragonfly gem for creating random hashes for org logos
dragonfly_secret: my_secret_key

# AWS credentials used by the config/initializers/dragonfly.rb to access your S3 bucket (if applicable)
# aws:
# access_key_id: 12345
# secret_access_key: 34567

# Recaptcha credentials
recaptcha:
site_key: 11111
secret_key: 22222

0 comments on commit cc87cb4

Please sign in to comment.