ci: overwrite folder without merge

This commit is contained in:
Maël Gangloff 2025-11-27 15:57:41 +01:00
parent 0f79cf199a
commit 5745bcc7fa
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
2 changed files with 12 additions and 0 deletions

View File

@ -31,6 +31,17 @@ jobs:
run: yarn run build run: yarn run build
working-directory: docs working-directory: docs
- name: Clean target folder on server
uses: appleboy/ssh-action@v1
with:
host: dw1.srv.domainwatchdog.eu
port: 2004
username: deploy
key: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
script: |
rm -rf /var/www/domainwatchdog.eu/*
- name: Upload build via SCP - name: Upload build via SCP
uses: appleboy/scp-action@master uses: appleboy/scp-action@master
with: with:

View File

@ -2,3 +2,4 @@
title: Software Testing title: Software Testing
description: Discover how to launch and write unit and integration tests for this project using PHPUnit and a test database. description: Discover how to launch and write unit and integration tests for this project using PHPUnit and a test database.
--- ---