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

Move Site Build to GitHub Actions #5

Closed
nipafx opened this issue Mar 26, 2020 · 2 comments
Closed

Move Site Build to GitHub Actions #5

nipafx opened this issue Mar 26, 2020 · 2 comments

Comments

@nipafx
Copy link
Member

nipafx commented Mar 26, 2020

The site build is currently not executed after a successful project build because triggering it fails:

Triggering Travis build failed. Response{protocol=http/1.1, code=403, message=Forbidden, url=https://api.travis-ci.org/repo/junit-pioneer%2Fjunit-pioneer.github.io/requests}

Since we're moving XP to GitHub Actions (see junit-pioneer/junit-pioneer#192), we should do the same here.

@nipafx nipafx changed the title Move from Travis CI to GitHub Actions Move Site Build to GitHub Actions Apr 8, 2020
aepfli pushed a commit to aepfli/junit-pioneer that referenced this issue Apr 22, 2020
Our TriggerSiteBuild is not working as stated in 

Issue: junit-pioneer/junit-pioneer.github.io#5
nipafx pushed a commit to junit-pioneer/junit-pioneer that referenced this issue Apr 24, 2020
`TriggerSiteBuild` is currently not working, but that should not stop the entire build.

Issue: junit-pioneer/junit-pioneer.github.io#5
PR: #235
@aepfli
Copy link
Member

aepfli commented Apr 28, 2020

So lets outline the current build what is going on etc.

  1. the build is triggered from remote
  2. we set up jekyll
  3. we do checkouts
    • project with different branches
    • junit-pioneer to the working folder
  4. we do a gradle to build
  5. we copy some files from main repo to site-source folder, so we have the docs, also maybe the main page not sure
  6. we adapt the navigation to represent all necessary links from the docs
  7. we will than trigger a jekyll build
  8. and we commit and push

How can this look like in the future (maybe without gradle and without shell scripts, or shell scripts just for debugging)

  1. we trigger the build remotely
  2. we checkout the repo itself in site-source branch
  3. we move files from junit pioneer repo to docs folder
  4. we adapt the navigation with https://github.com/marketplace/actions/find-and-replace
  5. we trigger the jekyll build via jekyll actions, need to evaluate which one is more suited

voila - the build would work with just one actions file, we could get rid of the grandmaster branch, and would have a clean build

@nipafx
Copy link
Member Author

nipafx commented May 5, 2020

I want to make it as easy as possible to build and publish the site locally. Unless I miss something, replacing Gradle/script logic with GitHub Actions, doesn't allow that. Duplicating logic doesn't seem to be a good idea, either. As such, I will try to "just" replicate the content of .travis.yml with GitHub Actions configuration.

@nipafx nipafx closed this as completed in bad55ff May 19, 2020
GrigoriyBeziuk pushed a commit to GrigoriyBeziuk/junit-pioneer that referenced this issue Jan 31, 2024
`TriggerSiteBuild` is currently not working, but that should not stop the entire build.

Issue: junit-pioneer/junit-pioneer.github.io#5
PR: #235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants