diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 338da6cf5..09a91c65f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -350,10 +350,26 @@ jobs: git_remote_url: 'ssh://dokku@liiweb2.africanlii.org: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://dokku@liiweb2.africanlii.org: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: