mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 09:45:29 +00:00
ci: overwrite folder without merge
This commit is contained in:
parent
0f79cf199a
commit
5745bcc7fa
11
.github/workflows/publish-docs.yml
vendored
11
.github/workflows/publish-docs.yml
vendored
@ -31,6 +31,17 @@ jobs:
|
||||
run: yarn run build
|
||||
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
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
|
||||
@ -2,3 +2,4 @@
|
||||
title: Software Testing
|
||||
description: Discover how to launch and write unit and integration tests for this project using PHPUnit and a test database.
|
||||
---
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user