fix:ci does not work

This commit is contained in:
Zyronon
2025-11-22 12:39:31 +08:00
parent 6113bfa5f5
commit 9643801f69
2 changed files with 5 additions and 12 deletions

View File

@@ -1,8 +1,8 @@
name: Deploy to Aliyun OSS
on:
# push:
# branches: [ 'master' ]
push:
branches: [ 'master' ]
workflow_dispatch:
permissions:

View File

@@ -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