diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 9d9749e..b10b158 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -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: diff --git a/docs/src/content/docs/en/developing/testing.mdx b/docs/src/content/docs/en/developing/testing.mdx index 0311dc2..27c5a0f 100644 --- a/docs/src/content/docs/en/developing/testing.mdx +++ b/docs/src/content/docs/en/developing/testing.mdx @@ -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. --- +