diff --git a/.github/workflows/preproduction.yml b/.github/workflows/preproduction.yml index ffd8ab0e..7fb6b6b0 100644 --- a/.github/workflows/preproduction.yml +++ b/.github/workflows/preproduction.yml @@ -1,19 +1,9 @@ name: Deploy code.gouv.fr website to preproduction on: - # Runs on pushes targeting the default branch push: branches: ["main"] - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false - jobs: # Build job build: @@ -44,7 +34,7 @@ jobs: - name: Deploy to Server uses: easingthemes/ssh-deploy@main env: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} # must be in PEM format ARGS: "-av --delete" SOURCE: _site/ REMOTE_HOST: ${{ secrets.REMOTE_HOST }}