/
githubmirror
/
advanced-java
Обзор
Документация
Войти
/
githubmirror
/
advanced-java
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/compress.yml
36 строк
914 B
Libin YANG
chore: upgrade deps, migrate theme to TypeScript, and update GitHub Actions (#345)
25 июн 2026, 04:06
Не верифицирован
25 июн 2026, 04:06
3003dd0
Код
Авторство
О чём код?
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@v7 - name: Compress Images id: calibre uses: calibreapp/image-actions@1.5.0 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@v1.3.0 with: github_token: ${{ secrets.GITHUB_TOKEN }}