Skip to content

Renew Credentials

Renew Credentials #1

name: Renew Credentials
on:
workflow_dispatch:
schedule:
# Run every five day at midnight.
- cron: '0 0 */5 * *'
jobs:
renew:
name: Renew credentials
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: pnpm/action-setup@v4
with:
version: ^9.14.4
run_install: true
- env:
TEST_CLIENT_ID: ${{ secrets.TEST_CLIENT_ID }}
TEST_CLIENT_SECRET: ${{ secrets.TEST_CLIENT_SECRET }}
TEST_REFRESH_TOKEN: ${{ secrets.TEST_REFRESH_TOKEN }}
run: pnpm renew-credentials