mirror of https://github.com/Xhofe/alist
ci: push main branch directly
parent
fbcf082ca7
commit
37eb3dd8f5
|
@ -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
|
Loading…
Reference in New Issue