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

Remote Libraries Data #269

Merged
merged 8 commits into from
Oct 7, 2019
Merged

Remote Libraries Data #269

merged 8 commits into from
Oct 7, 2019

Conversation

jwcooper
Copy link
Member

@jwcooper jwcooper commented Sep 4, 2019

Use remote libraries data stored in s3 so daily updates of the libraries file can be performed. Will need to build site using GitHub Actions as there is a new plugin that is not supported by the default github-pages builds.

Prior to merging this:

  • Enable GitHub Actions for daily builds at a specified time
  • Move libraries.json automated builds to the adafruit-circuit-python s3 bucket. Currently have it located here: adafruit-circuit-python/adabot/web/libraries.json

The site will now be built by GitHub actions. Whenever there are changes on master, the workflow will build and commit the site to the gh-pages branch. It will also auto-build at 10am every day (need to confirm the timezone of github actions, but presuming it's utc). We can adjust the schedule build times to whatever works best.

The action is using an adabot personal access token. Adabot is the only user allowed to commit to the gh-pages branch.

Once this is merged, we need to modify the github pages source to use the gh-pages branch.

@kattni
Copy link
Contributor

kattni commented Sep 4, 2019

We're working on getting the libraries.json automated builds to the S3 bucket. Thanks for getting this PR set up!

Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

@jwcooper is this ready to merge now that libraries.json is updating?

@kattni kattni merged commit 7cd8677 into adafruit:master Oct 7, 2019
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

Successfully merging this pull request may close these issues.

2 participants