Post to Bluesky #515
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: 'Post to Bluesky' | |
| on: | |
| schedule: | |
| - cron: '20 1,14,18,22 * * *' | |
| jobs: | |
| build: | |
| timeout-minutes: 4 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Bun runtime | |
| uses: oven-sh/setup-bun@v2 | |
| - run: bun i --production | |
| - run: bun run build | |
| - name: Send post | |
| run: bun start | |
| env: | |
| BSKY_HANDLE: ${{ secrets.BSKY_HANDLE }} | |
| BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }} |