This is an example of a WingLang project that demonstrates the usage of cloud services to read a Github Atom feed and trigger a Github Action when a new version is detected.
- Set up a new cloud secret with the name "github-token" and your Github token as the value.
- Deploy the project.
- The program will run every hour, checking the Github Atom feed for new versions.
- If a new version is detected, it will trigger the specified Github Action and store a record in a cloud bucket.
- Add
workflow_dispatch:
to the Github Action you want to trigger. This allows the action to be run manually from the Github Actions UI or API.
This is used in the examples repository.