aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/touch-google-refresh-token.yml
blob: 03b407513bacfcf8932e280695ad563dbf6e2e74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: Touch google token
on:
  schedule:
    - cron: "0 3 2 * *" # At 03:00 on day-of-month 2
  workflow_dispatch:
permissions: {}
jobs:
  fetchToken:
    runs-on: ubuntu-latest
    environment: cd
    steps:
      - uses: cardinalby/google-api-fetch-token-action@f455422472a558d48d939e77a65cdcec38e707b5 # pin@v1.0.4
        with:
          clientId: ${{ secrets.G_CLIENT_ID }}
          clientSecret: ${{ secrets.G_CLIENT_SECRET }}
          refreshToken: ${{ secrets.G_REFRESH_TOKEN }}