https://github.com/winglang/feedreader
https://github.com/winglang/feedreader
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/winglang/feedreader
- Owner: winglang
- Created: 2024-01-24T19:58:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T21:12:05.000Z (over 2 years ago)
- Last Synced: 2024-02-26T22:28:55.911Z (over 2 years ago)
- Language: CWeb
- Size: 105 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Feedreader
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.
## Usage
1. Set up a new cloud secret with the name "github-token" and your Github token as the value.
2. Deploy the project.
3. The program will run every hour, checking the Github Atom feed for new versions.
4. If a new version is detected, it will trigger the specified Github Action and store a record in a cloud bucket.
5. 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](https://github.com/winglang/examples/blob/main/docs/testing-new-wing-versions.md) repository.