diff --git a/.github/workflows/deployes.yml b/.github/workflows/deployes.yml index 98074d3..b606a52 100644 --- a/.github/workflows/deployes.yml +++ b/.github/workflows/deployes.yml @@ -41,14 +41,12 @@ jobs: NEXT_PUBLIC_ENV: "prod" - name: Deploy Gh-Pages 🚀 - uses: hpcodecraft/action-deploy-workspace-to-repo@v2.2 - env: - GITHUB_ACCESS_TOKEN: ${{ secrets.DECOO_PAT }} - SRC_FOLDER: out - DEST_OWNER: decooio - DEST_REPO: cloud3-home-prod-deploy - DEST_BRANCH: main - DEST_FOLDER: docs + uses: XueMoMo/actions-gh-pages@v4.0.1 + with: + deploy_key: ${{ secrets.DK_PROD }} + publish_dir: ./out + external_repository: decooio/cloud3-home-prod-deploy + cname: crustcloud.io test: if: contains(github.event.head_commit.message, '[test]') || contains(github.event.head_commit.message, '[all]') runs-on: ubuntu-latest @@ -81,14 +79,12 @@ jobs: NEXT_PUBLIC_ENV: "test" - name: Deploy Gh-Pages 🚀 - uses: hpcodecraft/action-deploy-workspace-to-repo@v2.2 - env: - GITHUB_ACCESS_TOKEN: ${{ secrets.DECOO_PAT }} - SRC_FOLDER: out - DEST_OWNER: decooio - DEST_REPO: cloud3-home-test-deploy - DEST_BRANCH: main - DEST_FOLDER: docs + uses: XueMoMo/actions-gh-pages@v4.0.1 + with: + deploy_key: ${{ secrets.DK_TEST }} + publish_dir: ./out + external_repository: decooio/cloud3-home-test-deploy + cname: test.crustcloud.io beta: if: contains(github.event.head_commit.message, '[beta]')|| contains(github.event.head_commit.message, '[all]') runs-on: ubuntu-latest