* chore: cleanup build.yml run conditions - run on all branches - no need to run on schedule, since there's nothing external pulled in the image build * chore: change workflow name * fix: tag non-main-branch builds correctly * docs: yafti module explain what yafti is * ci: fix globs in website rebuild action * ci: only rebuild website if in official module repository * ci: fix globs being invalid yaml * Revert "docs: yafti module explain what yafti is" This reverts commit 7d5295cd9f9ea7d0f6a45ce227da6d699973cf2f.
17 lines
444 B
YAML
17 lines
444 B
YAML
name: rebuild-website
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths: # only rebuild when related files change
|
|
- "**/module.yml"
|
|
- "/modules.json"
|
|
- "**/README.md"
|
|
|
|
jobs:
|
|
rebuild-website:
|
|
name: Trigger build hook for website on Netlify
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'blue-build/modules'
|
|
steps:
|
|
- run: curl -X POST -d {} https://api.netlify.com/build_hooks/65bf6b0dd164b64659beafd5
|