From cd7d06d658d277e41fc400fba25cc04f213370a6 Mon Sep 17 00:00:00 2001 From: Nicolas Palacio Date: Mon, 8 Apr 2024 10:34:11 +0200 Subject: [PATCH] Trying to fix deployment of pages 5/n --- .github/workflows/static.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 1778492..861687b 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -44,10 +44,11 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.ref }} - - name: Deploy - uses: s0/git-publish-subdir-action@develop - env: - REPO: self - BRANCH: main - FOLDER: docs/ - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + with: + publish_branch: main + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: docs/ + force_orphan: true \ No newline at end of file