Auto Tweet Using AI #2101
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 AI | |
# Runs every hour | |
on: | |
schedule: | |
- cron: "0 * * * *" | |
# This command allows us to run the Action automatically from the Actions tab. | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Auto Tweet Using AI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "20.x" | |
- name: Install Dependencies | |
run: npm i | |
- name: Run Twitter bot | |
run: npm start |