Auto Tweet Using anthropic #375
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
name: Auto Tweet Using anthropic | |
# Runs every 2 hours | |
on: | |
schedule: | |
- cron: "0 */2 * * *" | |
# Allows manual triggering of the workflow | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Auto Tweet Using anthropic | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Twitter bot | |
run: npm start |