Skip to content

Automatic Releases Workflow #589

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

Merged
merged 3 commits into from
Dec 12, 2024
Merged

Automatic Releases Workflow #589

merged 3 commits into from
Dec 12, 2024

Conversation

Stefterv
Copy link
Contributor

Added a workflow to be able to trigger the fetchReleases script and create a pull request on the repo.

This workflow can be triggered manually, and then we can decide if we want to automatically also update the content/download/selected.json or if that would have to be done manually

Copy link

netlify bot commented Dec 12, 2024

Deploy Preview for java-processing-faf822 ready!

Name Link
🔨 Latest commit 3f8e87e
🔍 Latest deploy log https://app.netlify.com/sites/java-processing-faf822/deploys/675b12376442f5000898dd9d
😎 Deploy Preview https://deploy-preview-589--java-processing-faf822.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Stefterv
Copy link
Contributor Author

Seems like we need to setup a Personal Access Token instead as the defined Github token can only read the current repository

@Stefterv
Copy link
Contributor Author

Stefterv commented Dec 12, 2024

One thing I dislike about the current system is that we have duplicate data, the original repo maintains its own state for releases and the website is not dynamically updating based on that.

One other approach would be to remove the releases content from this repo altogether, download the data on every build. And make the processing4 repo trigger a web hook on netlify.

@SableRaf
Copy link
Collaborator

Seems like we need to setup a Personal Access Token instead as the defined Github token can only read the current repository

Which specific repository permissions does this token need?

@SableRaf
Copy link
Collaborator

SableRaf commented Dec 12, 2024

One thing I dislike about the current system is that we have duplicate data, the original repo maintains its own state for releases and the website is not dynamically updating based on that.

Agreed!

One other approach would be to remove the releases content from this repo altogether, download the data on every build. And make the processing4 repo trigger a web hook on netlify.

That sounds reasonable and would support the goal to adopt a more pull-based data flow across the Processing infra.

@Stefterv Stefterv merged commit 118e57d into main Dec 12, 2024
4 checks passed
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