From c94f2ffea7cda0759bbbde79dace6b63128a670c Mon Sep 17 00:00:00 2001 From: Arnold Date: Sat, 11 May 2024 03:09:38 +0200 Subject: [PATCH] Update deployment.yml --- .github/workflows/deployment.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index e27cc1e..b89f3f3 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -63,3 +63,9 @@ jobs: ssh target "cd tldtest && git pull origin master && docker-compose down && docker-compose up --build -d" # Other steps for deploying static content to GitHub Pages + - name: Deploy static content to GitHub Pages + if: success() && github.ref == 'refs/heads/master' + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./staticfiles