Skip to content

Commit

Permalink
Update preproduction.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Helene MJ <[email protected]>
  • Loading branch information
hjonin authored Jul 25, 2023
1 parent 426c0f3 commit 8e8bd68
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/preproduction.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 8e8bd68

Please sign in to comment.