Skip to content

Commit

Permalink
Combine github actions
Browse files Browse the repository at this point in the history
to see if that works better
  • Loading branch information
excid3 committed Sep 18, 2023
1 parent 38da7e7 commit 9a94da3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,14 @@ jobs:
run: |
bin/rails db:test:prepare
bin/rails test:all
deploy:
runs-on: ubuntu-latest
needs: [test]
if: github.ref == 'refs/heads/main'
environment: production
steps:
- name: Deploy to Hatchbox
uses: hatchboxio/github-hatchbox-deploy-action@v2
with:
deploy_key: ${{ secrets.HATCHBOX_DEPLOY_KEY }}
18 changes: 0 additions & 18 deletions .github/workflows/deploy.yml

This file was deleted.

0 comments on commit 9a94da3

Please sign in to comment.