-
-
Notifications
You must be signed in to change notification settings - Fork 318
[DOCS] Build docs only when a tag is released #555
Copy link
Copy link
Closed
Milestone
Description
Currently every time a new commit goes to master branch the webhook tells netlify to build the docs.
The problem is that docs goes out of sync with latest release version.
There are 3 ways of resolving this problem:
1 settings ignore_builds to something that will exclude untagged master
https://docs.netlify.com/configure-builds/file-based-configuration/#ignore-builds
2 branching
creating a new branch docs and update it based on the tag every time we do a release, so netlify will look to that tag only.
Changes must go on https://github.com/rochacbruno/dynaconf/blob/master/release.sh#L156
3 hack the build command
https://github.com/rochacbruno/dynaconf/blob/master/netlify.toml#L5
change the line above to first checkout to latest tag, this will cause a build every time master changes, but will build the same tag always.
Reactions are currently unavailable