From 9643801f69ecfbe41d56c62a55205e9204553d39 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sat, 22 Nov 2025 12:39:31 +0800 Subject: [PATCH] fix:ci does not work --- .github/workflows/deploy-aliyun-oss.yml | 4 ++-- .github/workflows/deploy-pages.yml | 13 +++---------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-aliyun-oss.yml b/.github/workflows/deploy-aliyun-oss.yml index 831ed349..6829e3b3 100644 --- a/.github/workflows/deploy-aliyun-oss.yml +++ b/.github/workflows/deploy-aliyun-oss.yml @@ -1,8 +1,8 @@ name: Deploy to Aliyun OSS on: -# push: -# branches: [ 'master' ] + push: + branches: [ 'master' ] workflow_dispatch: permissions: diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index b724bda3..dfc8fbe7 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages on: push: - branches: [ 'feat/mobile' ] + branches: [ 'master' ] workflow_dispatch: permissions: @@ -13,7 +13,8 @@ permissions: jobs: build: runs-on: ubuntu-latest - + outputs: + build-path: dist steps: - name: Checkout uses: actions/checkout@v4 @@ -41,14 +42,6 @@ jobs: # Upload dist repository path: './dist' - deploy: - needs: build - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4