-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reusable action for docs deployment #1398
Reusable action for docs deployment #1398
Conversation
✅ Deploy Preview for hardcore-allen-f5257d ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
.github/actions/deploy/action.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be a re-usable action (workflow_call
) as it's not a step you'd want to use in conjunction with anything else. Plus that would mean you could centralise the runs-on
definition.
I also don't think you can use relative paths with composite actions without a checkout
first. But I could be wrong.
runs-on: ubicloud-standard-2 | ||
steps: | ||
- name: Dispatch docs deployment | ||
run: curl -X POST -d {} https://api.netlify.com/build_hooks/60e71936b15bb431b42b698a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit - a link to the netlify documentation that specifies this command might help to avoid someone wondering what it does.
No description provided.