.github/workflows/crawl-rss.yml #9617
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
schedule: | |
# Runs every 4h | |
- cron: '0 */4 * * *' | |
workflow_dispatch: | |
jobs: | |
update-readme-with-blog: | |
name: Crawl rss and generate static page | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@main | |
with: | |
repository: minhhungit/github-action-rss-crawler | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.x | |
#- run: dotnet build DemoApp\DemoApp.sln | |
- run: dotnet run --project RssCrawler\RssCrawler.csproj | |
- run: git config --local user.email "[email protected]" | |
- run: git config --local user.name "Jin" | |
- run: git add . | |
- run: git commit -m "Add changes" | |
- run: git push | |