Deploy to Sandbox (manual) #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Sandbox (manual) | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| deployment: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| host: [services1, services2] | |
| fail-fast: false | |
| environment: sandbox | |
| env: | |
| DEPLOY_HTTPS_LOGIN: ${{ secrets.DEPLOY_HTTPS_LOGIN }} | |
| DEPLOY_HTTPS_PASSWORD: ${{ secrets.DEPLOY_HTTPS_PASSWORD }} | |
| DEPLOY_HTTPS_REQUEST_URL: ${{ vars.DEPLOY_HTTPS_REQUEST_URL }} | |
| DEPLOY_HTTPS_RESPONSE_URL: ${{ vars.DEPLOY_HTTPS_RESPONSE_URL }} | |
| DEPLOY_HOST: host_${{ matrix.host }} | |
| DEPLOY_APP: voie_rapide_sandbox | |
| DEPLOY_BRANCH: ${{ github.ref_name }} | |
| steps: | |
| - name: Download and run deploy script | |
| shell: bash | |
| run: | | |
| git clone https://github.com/etalab/api-entreprise-integration | |
| cd api-entreprise-integration | |
| ./deploy-parteprise.sh |