Skip to content

Create Post

Create Post #495

Workflow file for this run

name: Create Post
on:
# Triggers the workflow every 4 hours
schedule:
- cron: "0 */4 * * *"
workflow_dispatch:
jobs:
cron:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run the app
env:
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
BLUESKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }}
URL: ${{ secrets.URL }}
run: node index.js