Skip to content

Commit

Permalink
Merge pull request #9 from etalab/déploiement-continu
Browse files Browse the repository at this point in the history
Action github déploiement via HTTPS
  • Loading branch information
jbfeldis authored Jun 4, 2024
2 parents 3c129e5 + 131a3bc commit ce8052d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/https-deploy-sandbox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deployment via HTTPS (sandbox)

on:
workflow_dispatch:
branches:
- '*'

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: formulaire_qf_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

0 comments on commit ce8052d

Please sign in to comment.