From 82273394f3bd28aff541b2ff546a51d496ffcd86 Mon Sep 17 00:00:00 2001 From: MuGu <94156510@qq.com> Date: Tue, 21 Nov 2023 14:42:59 +0800 Subject: [PATCH] diy --- .github/workflows/auto_lang.yml | 8 ++++---- .github/workflows/build_docker.yml | 12 ++++++------ .github/workflows/release.yml | 27 --------------------------- .github/workflows/release_docker.yml | 12 ++++++------ 4 files changed, 16 insertions(+), 43 deletions(-) diff --git a/.github/workflows/auto_lang.yml b/.github/workflows/auto_lang.yml index 4c20efcbf4ef..a4b8a0931a0d 100644 --- a/.github/workflows/auto_lang.yml +++ b/.github/workflows/auto_lang.yml @@ -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 "bot@nn.ci" - git config --local user.name "IlaBot" + git config --local user.email "94156510@qq.com" + 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 diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index 48311e8f72cf..e125d3b914b2 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -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,15 +50,15 @@ 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 "bot@nn.ci" - git config --local user.name "IlaBot" + git config --local user.email "94156510@qq.com" + git config --local user.name "MuGu" git commit --allow-empty -m "Trigger build for ${{ github.sha }}" - name: Push commit @@ -66,4 +66,4 @@ jobs: with: github_token: ${{ secrets.MY_TOKEN }} branch: main - repository: alist-org/with_aria2 \ No newline at end of file + repository: gmugu/with_aria2_ffmpeg \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6697363d2f0e..6ac120fe7438 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 "bot@nn.ci" - 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 \ No newline at end of file diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index a16cf49d2d5c..c63b4532cc53 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -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,15 +49,15 @@ 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 "bot@nn.ci" - git config --local user.name "IlaBot" + git config --local user.email "94156510@qq.com" + git config --local user.name "MuGu" git tag -a ${{ github.ref_name }} -m "release ${{ github.ref_name }}" - name: Push tags @@ -65,4 +65,4 @@ jobs: with: github_token: ${{ secrets.MY_TOKEN }} branch: main - repository: alist-org/with_aria2 + repository: gmugu/with_aria2_ffmpeg