Skip to content

Commit

Permalink
chore: new server deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnesthesia committed Oct 18, 2023
1 parent 4899207 commit 6f27d0a
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release-dokku-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: VPS Staging Deployment
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Cloning repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to dokku
uses: dokku/github-action@master
with:
git_remote_url: ssh://[email protected]:22/openmanifest-prod
ssh_private_key: ${{ secrets.DOKKU_DEPLOY_KEY }}
19 changes: 19 additions & 0 deletions .github/workflows/release-dokku-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: VPS Staging Deployment
on:
push:
branches:
- staging
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Cloning repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to dokku
uses: dokku/github-action@master
with:
git_remote_url: ssh://[email protected]:22/openmanifest-stg
ssh_private_key: ${{ secrets.DOKKU_DEPLOY_KEY }}
3 changes: 1 addition & 2 deletions .github/workflows/release-heroku-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Heroku Production Deployment
on:
workflow_dispatch:
push:
branches:
- main
branches: []
jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-heroku-staging.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Heroku Staging Deployment
on:
push:
branches:
- staging
branches: []
jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6f27d0a

Please sign in to comment.