Skip to content

Commit

Permalink
add:secretkey
Browse files Browse the repository at this point in the history
  • Loading branch information
kaoru-528 committed Oct 15, 2024
1 parent d8a937d commit cf3e072
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
bundle install
- name: Run database migrations
env:
SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }}
run: |
bundle exec rails db:migrate RAILS_ENV=production
Expand All @@ -33,6 +35,7 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
USER: ${{ secrets.SSH_USER }}
HOST: ${{ secrets.SSH_HOST }}
SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }}
run: |
echo "$SSH_PRIVATE_KEY" > private_key.pem
chmod 600 private_key.pem
Expand Down

0 comments on commit cf3e072

Please sign in to comment.