Skip to content

Update og images

Update og images #99

name: Update og images
on:
schedule:
# Runs at 00:05 AM UTC every day
- cron: '5 0 * * *'
workflow_dispatch:
jobs:
update_og_images:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# Install dependencies
- name: Install dependencies
run: npm ci
- name: Install playwright dependencies
run: npx playwright install
- name: Update og images
env:
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
run: npm run update-og-images