forked from AlistGo/alist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
16 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
- name: Checkout alist-web | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: 'alist-org/alist-web' | ||
repository: 'gmugu/alist-web' | ||
ref: main | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
@@ -57,8 +57,8 @@ jobs: | |
run: | | ||
cd alist-web | ||
git add . | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "IlaBot" | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "MuGu" | ||
git commit -m "chore: auto update i18n file" -a 2>/dev/null || : | ||
cd .. | ||
|
@@ -68,4 +68,4 @@ jobs: | |
github_token: ${{ secrets.MY_TOKEN }} | ||
branch: main | ||
directory: alist-web | ||
repository: alist-org/alist-web | ||
repository: gmugu/alist-web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: xhofe/alist | ||
images: mugu94/alist | ||
- name: Replace release with dev | ||
run: | | ||
sed -i 's/release/dev/g' Dockerfile | ||
|
@@ -30,7 +30,7 @@ jobs: | |
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: xhofe | ||
username: mugu94 | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Build and push | ||
id: docker_build | ||
|
@@ -50,20 +50,20 @@ jobs: | |
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: alist-org/with_aria2 | ||
repository: gmugu/with_aria2_ffmpeg | ||
ref: main | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Commit | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "IlaBot" | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "MuGu" | ||
git commit --allow-empty -m "Trigger build for ${{ github.sha }}" | ||
- name: Push commit | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.MY_TOKEN }} | ||
branch: main | ||
repository: alist-org/with_aria2 | ||
repository: gmugu/with_aria2_ffmpeg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,30 +46,3 @@ jobs: | |
with: | ||
files: build/compress/* | ||
prerelease: false | ||
|
||
release_desktop: | ||
needs: release | ||
name: Release desktop | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: alist-org/desktop-release | ||
ref: main | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Add tag | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "IlaBot" | ||
version=$(wget -qO- -t1 -T2 "https://api.github.com/repos/alist-org/alist/releases/latest" | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g') | ||
git tag -a $version -m "release $version" | ||
- name: Push tags | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.MY_TOKEN }} | ||
branch: main | ||
repository: alist-org/desktop-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: xhofe/alist | ||
images: mugu94/alist | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
@@ -28,7 +28,7 @@ jobs: | |
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: xhofe | ||
username: mugu94 | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
|
@@ -49,20 +49,20 @@ jobs: | |
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: alist-org/with_aria2 | ||
repository: gmugu/with_aria2_ffmpeg | ||
ref: main | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Add tag | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "IlaBot" | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "MuGu" | ||
git tag -a ${{ github.ref_name }} -m "release ${{ github.ref_name }}" | ||
- name: Push tags | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.MY_TOKEN }} | ||
branch: main | ||
repository: alist-org/with_aria2 | ||
repository: gmugu/with_aria2_ffmpeg |