Skip to content

Commit

Permalink
Update deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmwangemi committed Nov 2, 2023
1 parent 1da4cfd commit bde20f4
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,36 +333,37 @@ jobs:
git_remote_url: 'ssh://[email protected]:22/rwandalii-peachjam'
git_push_flags: '--force'

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

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

deploy-mauritiuslii:

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

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

0 comments on commit bde20f4

Please sign in to comment.