Skip to content

Commit

Permalink
Add step to generate session secret
Browse files Browse the repository at this point in the history
Not sure if this will do any good...
  • Loading branch information
aedart committed Feb 21, 2025
1 parent 38b0b0e commit 9cf2d1b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/redmine_api_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ jobs:
# - name: "Debug: settings.xml"
# run: cat ${{ env.REDMINE_INSTALL_PATH }}/config/settings.yml

- name: "Session store secret"
run: |
cd ${{ env.REDMINE_INSTALL_PATH }}
RAILS_ENV=${{ env.REDMINE_ENVIRONMENT }} bundle exec rake generate_secret_token
# This step might be needed before Redmine can work as intended. Note that the RAILS_ENV corresponds
# to the database name and not the environment, in this context.
# @see https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-7-Database-default-data-set
Expand Down

0 comments on commit 9cf2d1b

Please sign in to comment.