diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index ae26c76..e0b5793 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -37,6 +37,13 @@ jobs: # Add or replace database setup steps here - name: Set up database schema run: bin/rails db:schema:load + # + - name: Set up Rails credentials + run: | + mkdir -p ~/.rails + echo "${{ secrets.RAILS_CREDENTIALS_CONTENT }}" > ~/.rails/credentials.yml.enc + echo "${{ secrets.RAILS_MASTER_KEY }}" > ~/.rails/master.key + # Add or replace test runners here - name: Run tests run: bin/rake