mirror of https://github.com/jpanther/congo.git
👷 Update build theme workflow
parent
4ab8a47b10
commit
43026f0267
|
@ -12,15 +12,41 @@ jobs:
|
||||||
- name: Install dependencies and Build Theme
|
- name: Install dependencies and Build Theme
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
|
||||||
- name: Commit and push CSS changes
|
|
||||||
uses: devops-infra/action-commit-push@master
|
|
||||||
with:
|
|
||||||
github_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
commit_message: "💄 Rebuild CSS"
|
|
||||||
- run: npm run assets
|
- run: npm run assets
|
||||||
- name: Commit and push vendor changes
|
- name: Commit and push Chart.js changes
|
||||||
uses: devops-infra/action-commit-push@master
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
github_token: "${{ secrets.GITHUB_TOKEN }}"
|
branch: "${{ github.head_ref }}"
|
||||||
commit_message: "📦 Update packaged assets"
|
push_options: "--dry-run"
|
||||||
|
file_pattern: "assets/lib/chart/*"
|
||||||
|
commit_message: "📦 Update packaged ChartJS"
|
||||||
|
- name: Commit Fuse changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
branch: "${{ github.head_ref }}"
|
||||||
|
push_options: "--dry-run"
|
||||||
|
file_pattern: "assets/lib/fuse/*"
|
||||||
|
commit_message: "📦 Update packaged FuseJS"
|
||||||
|
- name: Commit KaTeX changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
branch: "${{ github.head_ref }}"
|
||||||
|
push_options: "--dry-run"
|
||||||
|
file_pattern: "assets/lib/katex/*"
|
||||||
|
commit_message: "📦 Update packaged KaTeX"
|
||||||
|
- name: Commit Mermaid changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
branch: "${{ github.head_ref }}"
|
||||||
|
push_options: "--dry-run"
|
||||||
|
file_pattern: "assets/lib/mermaid/*"
|
||||||
|
commit_message: "📦 Update packaged Mermaid"
|
||||||
|
- run: npm run build
|
||||||
|
- name: Commit CSS changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
branch: "${{ github.head_ref }}"
|
||||||
|
push_options: "--dry-run"
|
||||||
|
file_pattern: "assets/css/compiled/main.css"
|
||||||
|
commit_message: "💄 Rebuild CSS"
|
||||||
|
- run: git push
|
||||||
|
|
Loading…
Reference in New Issue