mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 06:55:43 -06:00
05d7810940
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
47 lines
No EOL
1.5 KiB
YAML
47 lines
No EOL
1.5 KiB
YAML
name: Build Theme
|
|
|
|
on: [pull_request_target]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: "${{ github.head_ref }}"
|
|
- name: Install dependencies and Build Theme
|
|
uses: actions/setup-node@v3
|
|
- run: npm install
|
|
- run: npm run assets
|
|
- name: Commit and push Chart.js changes
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
branch: "${{ github.head_ref }}"
|
|
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"
|
|
- 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 |