Hashnode Blogs #661
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: 'Hashnode Blogs' | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * *' # Runs every day at midnight | |
| jobs: | |
| update_blogs: | |
| name: 'Hashnode Latest Blogs' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Fetch Repository Contents' | |
| uses: actions/checkout@v3 | |
| - name: 'Hashnode Blog Action' | |
| uses: "Sachin-chaurasiya/hashnode-blog-action@v0.0.8" | |
| with: | |
| HASHNODE_PUBLICATION_NAME: 'pcodesdev.hashnode.dev' | |
| FORMAT: 'list' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |