actions
actions copied to clipboard
Usage issues
I tried to use the build action to deploy my site https://github.com/r0mflip/jsdiff.netlify.com and I faced a few problems in the process:
Initially I created an empty site(not from git) and then used the actions to trigger a build, but it didn't work because the site wasn't linked. I then had to try various methods to trigger a build (commits at https://github.com/r0mflip/jsdiff.netlify.com/commits/master) and finally realized it.
I then got a new site to work from the actions performing there step-by-step:
- New site, actions don't work yet
- Link continuous integration(repo)
- Let a build run
- Remove netlify access to the repo (to disable deploys on normal push, disables the hook),
and build settings can be removed from settings (don't remove/change repo url)apparently "auto publishing" and build commands should be left as-is to work - Finally trigger builds using actions (specify build opts)
I think that the linking and un-linking process should be documented so that users creating a new site from empty folder can get actions working.