Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging <- main Sync #38

Merged
merged 10 commits into from
Feb 11, 2024
16 changes: 8 additions & 8 deletions .github/workflows/rss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
BASE_URL: ${{ secrets.BASE_URL }}

- name: Install dependencies
run: yarn install --immutable --check-cache

- name: Fetch RSS Feed
run: |
npx tsx ./scripts/rss.ts
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
BASE_URL: ${{ secrets.BASE_URL }}

- name: Commit and push changes
run: |
git config --global user.email "
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git config --global user.name "Yummy-sk"
git add .
git commit -m "Update RSS Feed"
git push origin main
git commit -m "Updated RSS feed"
git push origin staging
Loading