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 diff --git a/db/seeds.rb b/db/seeds.rb index 6594749..8c0e648 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -13,7 +13,6 @@ User.destroy_all Artist.destroy_all - User.create!(name: 'peterkim_pk1', email: 'peterkim.pk1@gmail.com')