Skip to content

Commit

Permalink
Add deployemt workflow for civlii
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmwangemi committed Jan 29, 2024
1 parent 68529db commit e88b092
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,26 @@ jobs:
git_remote_url: 'ssh://[email protected]:22/mauritiuslii-peachjam'
git_push_flags: '--force'

deploy-civlii:
if: ${{ !cancelled() }}
needs: deploy-mauritiuslii
name: Deploy to civlii
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: git push to civlii.laws.africa
uses: dokku/github-action@master
with:
ssh_private_key: ${{ secrets.SSH_DEPLOYMENT_KEY }}
git_remote_url: 'ssh://[email protected]:22/civlii-peachjam'
git_push_flags: '--force'

deploy-lii:
if: ${{ !cancelled() }}
needs: deploy-mauritiuslii
needs: deploy-civlii
name: Deploy to lii
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit e88b092

Please sign in to comment.