-
Notifications
You must be signed in to change notification settings - Fork 11
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
Enhancement: Update Course Files #24
Comments
denise-khuu
changed the title
Enhancement: PublishCourses
Enhancement: Update Course Files
Jun 2, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In tutorials repository
https://github.com/devonfw-tutorials/tutorials/blob/main/.github/workflows/buildMain.yml
save the new course files and changed course files ("[name]-pathway.json") into a variable and refer to it inside the buildMain.yml of the katacoda-scenarios repository.
Pass the variable as argument to the
publish.js
.In
updateCourseFiles()
filter the courses, so that only the changed course files are deleted and replaced by the new filesOn how to get the changed files and directories, you can use line 17-18 of
https://github.com/devonfw-tutorials/tutorials/blob/main/.github/workflows/buildPullRequest.yml
as an example.
The text was updated successfully, but these errors were encountered: