From e76173e9c38fe9cac819eeb3e57b6286ff7ae967 Mon Sep 17 00:00:00 2001 From: MHuiG <616001163@qq.com> Date: Thu, 24 Nov 2022 15:17:47 +0800 Subject: [PATCH] Update test-deploy.yml --- .github/workflows/test-deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 676f66024..40e609ce0 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -35,7 +35,8 @@ jobs: with: deploy_key: ${{ secrets.MHUIG_DEPLOY_KEY }} external_repository: volantis-x/volantis-x.github.io - publish_branch: gh-page + publish_branch: gh-pages + force_orphan: true publish_dir: ./volantis-x.github.io/public user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' @@ -68,7 +69,8 @@ jobs: with: deploy_key: ${{ secrets.MHUIG_DEPLOY_KEY }} external_repository: volantis-x/volantis-x.github.io - publish_branch: gh-page + publish_branch: gh-pages + force_orphan: true publish_dir: ./volantis-x.github.io/public user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com'