ci: push main branch directly

pull/1604/head
Noah Hsu 2022-08-27 18:48:33 +08:00
parent fbcf082ca7
commit 37eb3dd8f5
1 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: 'alist-org/alist-web' repository: 'alist-org/alist-web'
ref: 'auto_lang' ref: main
persist-credentials: false persist-credentials: false
fetch-depth: 0 fetch-depth: 0
path: alist-web path: alist-web
@ -47,13 +47,13 @@ jobs:
git add . git add .
git config --local user.email "i@nn.ci" git config --local user.email "i@nn.ci"
git config --local user.name "Noah Hsu" git config --local user.name "Noah Hsu"
git commit --allow-empty -m "chore: update drivers translate file" -a git commit -m "chore: update i18n file" -a
cd .. cd ..
- name: Upload lang files - name: Push lang files
uses: ad-m/github-push-action@master uses: ad-m/github-push-action@master
with: with:
github_token: ${{ secrets.MY_TOKEN }} github_token: ${{ secrets.MY_TOKEN }}
branch: auto_lang branch: main
directory: alist-web directory: alist-web
repository: alist-org/alist-web repository: alist-org/alist-web