particle-os-modules/.github/workflows/rebuild-website.yml
xyny 29649646e3
ci: build and push all branches and other misc workflow changes (#156) (#161)
* 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.
2024-03-03 20:14:06 +00:00

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