Post Shiba To Mastodon Hourly #4040
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: Post Shiba To Mastodon Hourly | |
on: | |
schedule: | |
- cron: "0 * * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- run: npm install | |
- run: npm run post-shibe:mastodon | |
env: | |
MASTODON_ACCESS_TOKEN_KEY: ${{ secrets.MASTODON_ACCESS_TOKEN_KEY }} | |
SHIBE_LOL_CLIENT_SECRET: ${{ secrets.SHIBE_LOL_CLIENT_SECRET }} |