Update publish.json with new image #397
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 to Instagram | |
on: | |
workflow_dispatch: # Manual trigger | |
push: | |
paths: | |
- 'publish.json' # Trigger if this file is updated | |
jobs: | |
post-to-instagram: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Public Repo | |
uses: actions/checkout@v4 | |
- name: Clone Private Repo | |
env: | |
GH_TOKEN: ${{ secrets.GH_PAT }} | |
run: | | |
git clone https://[email protected]/iArchitSharma/thebrief-insta-uploader.git | |
cd thebrief-insta-uploader | |
- name: Install Dependencies | |
run: | | |
cd thebrief-insta-uploader | |
npm install | |
- name: Run Instagram Posting Script | |
run: | | |
cd thebrief-insta-uploader | |
node index.js |