Skip to content
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

Open
denise-khuu opened this issue Jun 2, 2021 · 0 comments
Open

Enhancement: Update Course Files #24

denise-khuu opened this issue Jun 2, 2021 · 0 comments

Comments

@denise-khuu
Copy link

denise-khuu commented Jun 2, 2021

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 files

On 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.

@denise-khuu 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant