Commit Graph

11 Commits

Author SHA1 Message Date
Sped0n
90aa1ad480 chore: blind commit 2023-11-04 19:24:57 +08:00
Sped0n
8222f91e98 chore(theme.toml): update minimum hugo version from 0.83.0 to 0.114.0 to ensure compatibility with the updated version 2023-11-04 19:04:21 +08:00
Sped0n
5eed039d47 feat(artifacts.yml): add step to setup Hugo with version 0.83.0 and extended mode
The change was made to include a new step in the workflow to set up Hugo with version 0.83.0 and enable extended mode. This is necessary to ensure that the correct version of Hugo is used and that extended features are available during the build process.
2023-11-04 18:58:53 +08:00
Sped0n
3920e665e0 fix(artifacts.yml): update condition in 'Build' job to check for 'any_changed' output instead of 'result' output for improved semantics 2023-11-04 18:52:14 +08:00
Sped0n
054934e8ba feat(artifacts.yml): add output variable 'result' to the filter job to indicate if any files in the scope have changed 2023-11-04 18:47:39 +08:00
Sped0n
e1b0a7627c fix(artifacts.yml): add continue-on-error flag to the filter job to prevent workflow from failing if any step fails 2023-11-04 17:47:16 +08:00
Sped0n
ef9761a7b6 chore(artifacts.yml): update the syntax for specifying changed files in the 'changed-files-specific' step to improve readability and maintainability 2023-11-04 17:18:09 +08:00
Sped0n
e85d0253ea chore(artifacts.yml): add workflow_dispatch event to allow manual triggering of the workflow 2023-11-04 17:16:02 +08:00
Sped0n
d45d22829e feat(artifacts.yml): add GitHub Actions workflow to update bundled artifacts
This commit adds a new GitHub Actions workflow file, artifacts.yml, which is triggered on push events to the main branch. The workflow consists of two jobs: "filter" and "build".

The "filter" job checks if any of the specified files (package.json and assets/**) have changed. If any file in the scope has changed, a step is executed. Otherwise, the workflow is prevented from running.

The "build" job is executed if the branch is main and the repository is not a fork. It performs the following steps:
1. Checkout the repository
2. Setup pnpm package manager
3. Get the pnpm store directory path
4. Setup pnpm cache using actions/cache
5. Install dependencies using pnpm
6. Build the artifacts
7. Configure git user email and name
8. Add all changes to the commit and commit with the message "build: update bundled artifacts [skip ci]"
9. Push the changes to the repository
2023-11-04 17:00:04 +08:00
Sped0n
67c0dcd70b chore(dependabot.yml): change the update schedule interval from daily to weekly 2023-11-01 22:54:23 +08:00
Spedon
4c2a45b54d Create dependabot.yml 2023-03-17 17:43:08 +08:00