Skip to content

Fetch Google Access Token #8

Fetch Google Access Token

Fetch Google Access Token #8

name: "Fetch Google Access Token"
on:
schedule:
- cron: '0 3 2 * *' # At 03:00 on day-of-month 2
workflow_dispatch:
jobs:
fetchToken:
runs-on: ubuntu-latest
steps:
- uses: cardinalby/google-api-fetch-token-action@v1
with:
clientId: ${{ secrets.G_CLIENT_ID }}
clientSecret: ${{ secrets.G_CLIENT_SECRET }}
refreshToken: ${{ secrets.G_REFRESH_TOKEN }}