From ad71fae5f5f85f5bd83fe783c8b75432f3049b15 Mon Sep 17 00:00:00 2001 From: Amirreza Date: Thu, 14 Nov 2024 09:33:30 +0330 Subject: [PATCH] docs: -change path of docs deploys --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 852435d..f48cc66 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Deploy to GitHub Pages on: push: branches: - - main + - master - docs/* defaults: @@ -62,3 +62,5 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + with: + folder: ${{ github.ref_name == 'master' && 'documents/build/' || 'documents/build/${{ github.ref_name }}' }}