From e2226210a488962134569a633adcacbc2736cada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E9=9B=AA=E4=B9=90=E9=9B=A8?= Date: Mon, 3 Jul 2023 09:47:47 +0800 Subject: [PATCH] Delete .github/workflows directory --- .github/workflows/compress.yml | 36 -------------------------------- .github/workflows/starcharts.yml | 18 ---------------- .github/workflows/sync.yml | 26 ----------------------- 3 files changed, 80 deletions(-) delete mode 100644 .github/workflows/compress.yml delete mode 100644 .github/workflows/starcharts.yml delete mode 100644 .github/workflows/sync.yml diff --git a/.github/workflows/compress.yml b/.github/workflows/compress.yml deleted file mode 100644 index c7da47c47..000000000 --- a/.github/workflows/compress.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Compress - -on: - schedule: - - cron: "0 0 * * 3" - workflow_dispatch: - -jobs: - compress: - runs-on: ubuntu-latest - if: github.repository == 'doocs/advanced-java' - steps: - - name: Checkout Branch - uses: actions/checkout@v3 - - - name: Compress Images - id: calibre - uses: calibreapp/image-actions@main - with: - githubToken: ${{ secrets.GITHUB_TOKEN }} - compressOnly: true - - - name: Commit Files - if: | - steps.calibre.outputs.markdown != '' - run: | - git config --local user.email "szuyanglb@outlook.com" - git config --local user.name "yanglbme" - git commit -m "chore: auto compress images" -a - - - name: Push Changes - if: | - steps.calibre.outputs.markdown != '' - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/starcharts.yml b/.github/workflows/starcharts.yml deleted file mode 100644 index 83d69772e..000000000 --- a/.github/workflows/starcharts.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Starcharts - -on: - schedule: - - cron: "0 0/12 * * *" - workflow_dispatch: - -jobs: - update-readme: - name: Generate starcharts - runs-on: ubuntu-latest - steps: - - uses: MaoLongLong/actions-starcharts@main - with: - github_token: ${{ secrets.ACTION_TOKEN }} - svg_path: images/starcharts.svg - commit_message: "chore: auto update starcharts" - stars_change: ${{ secrets.STARS_CHANGE }} diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml deleted file mode 100644 index bc25d9428..000000000 --- a/.github/workflows/sync.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Sync - -on: - push: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - if: github.repository == 'doocs/advanced-java' - steps: - - name: Sync To Gitee - uses: wearerequired/git-mirror-action@master - env: - SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} - with: - source-repo: git@github.com:doocs/advanced-java.git - destination-repo: git@gitee.com:Doocs/advanced-java.git - - - name: Build Gitee Pages - uses: yanglbme/gitee-pages-action@main - with: - gitee-username: yanglbme - gitee-password: ${{ secrets.GITEE_PASSWORD }} - gitee-repo: doocs/advanced-java - branch: main

AltStyle によって変換されたページ (->オリジナル) /