Setup basic site to copy readme from vento #6
This file contains hidden or 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
| name: Update Profile README | |
| on: | |
| push: | |
| # Run on main branch pushes | |
| branches: [main] | |
| # Allow to manually trigger the workflow | |
| workflow_dispatch: | |
| schedule: | |
| # Rebuild every day at 9:06 PM UTC | |
| - cron: "6 21 * * *" | |
| jobs: | |
| update-readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Update README with latest articles | |
| uses: Prachi-Jamdade/[email protected] | |
| with: | |
| feed_urls: 'https://cogley.jp/feed.xml' | |
| article_limit: 5 | |
| article_type: 'recent' | |
| github_token: ${{ secrets.TOKEN_GITHUB }} |