Skip to content

Twitter Bot

Twitter Bot #13666

Workflow file for this run

name: Twitter Bot
on:
workflow_dispatch:
schedule:
- cron: '0/10 * * * *'
jobs:
tweet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- run: npm install
- run: npm start
env:
BASE_URL: https://wiki.xn--9cs231j0ji.xn--p8s937b.net/
WIKI_URL: https://wiki.xn--9cs231j0ji.xn--p8s937b.net/wiki/
CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }}
CONSUMER_SECRET: ${{ secrets.CONSUMER_SECRET }}
ACCESS_TOKEN_KEY: ${{ secrets.ACCESS_TOKEN_KEY }}
ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }}
PAGESPEED_API_KEY: ${{ secrets.PAGESPEED_API_KEY }}