Skip to content

CI

CI #165

Workflow file for this run

name: CI
on:
schedule:
- cron: "25 1 * * *"
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
env:
TZ: Asia/Shanghai
jobs:
plugins-info:
name: Plugins Info
uses: ./.github/workflows/plugins-info.yml
secrets: inherit
charts:
name: Charts Info
uses: ./.github/workflows/charts.yml
secrets: inherit
deploy:
needs:
- plugins-info
- charts
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Download Build Output
uses: actions/download-artifact@v3
with:
name: artifact
path: docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
single-commit: true
git-config-name: github-actions[bot]
git-config-email: github-actions[bot]@users.noreply.github.com
sync-gitee:
name: Sync to Gitee
needs:
- deploy
uses: ./.github/workflows/sync-to-gitee.yml
secrets: inherit