Skip to content

Commit

Permalink
Merge pull request #125 from ruby-ui/fix-deploy
Browse files Browse the repository at this point in the history
fix deploy and add new credentials
  • Loading branch information
SethHorsley authored Nov 3, 2024
2 parents de51607 + 3d4813c commit 4a51907
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/

name: Fly Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
1 change: 0 additions & 1 deletion config/credentials.yml.enc

This file was deleted.

1 change: 1 addition & 0 deletions config/credentials/production.yml.enc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
V8SNuyxE0Iq+Yq161KEN/j3hjKfRN68Q81rARXyEOeFKNPw7o/SktsjnFSg9jDgZ4692i8RZiz5h63ZcLe12+6Pd6lA2gNOYv8aGUdl686JnDDL92PLC3ZOMfZx1JGD0G33SZumqxrVgpMLgpY5FKLEGy09jNHEdD9mYv3siJKU89xd0pdKTCoIbpcVXfEfuPyuul8hRi8VJjPLoIeQnXTSNNVNlvhVqFAEDIhPoilhqbxSlK8uSJPfAlUCzeU3A5x1haKDR3grU324jWkQX5fSO7JRXc2MqJxVNu/npX6CWaXH/NTVmbPi1YmcpI8LbROzfDLHx5ejH1KocKgIGbJss6Mo9zZZHD1xY4IiEQT+AofOjpwapnFhFvcuNMZImTaczxICVcJdM+EffipFUNuA2QGMX--SXsZ0psbmaVD96/1--lU3yc2xi8ZE/Mgo31zKzKA==
4 changes: 2 additions & 2 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# fly.toml app configuration file generated for rbui on 2024-07-28T09:41:04-03:00
# fly.toml app configuration file generated for ruby-ui on 2024-11-03T18:13:31+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'rbui'
app = 'ruby-ui'
primary_region = 'iad'
console_command = '/rails/bin/rails console'

Expand Down

0 comments on commit 4a51907

Please sign in to comment.