diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-18 11:29:45 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 11:29:45 +0900 |
commit | e7a6f0354b8c38046e449566a371e366ef6b6889 (patch) | |
tree | cd3b2b7d30b8dac0ecbd4ebc91b9d1da8da36819 /.github/workflows/touch-google-refresh-token.yml | |
parent | 0314a8620f952aa5b0129e93f2d0956b0e0cc7c2 (diff) | |
parent | 1dd47d0876833c1d61572577ae5b9d2215578c07 (diff) |
Merge pull request #92 from themoeway/cd
Add CD to build and publish extension to Chrome & Firefox stores
Diffstat (limited to '.github/workflows/touch-google-refresh-token.yml')
-rw-r--r-- | .github/workflows/touch-google-refresh-token.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/touch-google-refresh-token.yml b/.github/workflows/touch-google-refresh-token.yml new file mode 100644 index 00000000..9c4e2ec9 --- /dev/null +++ b/.github/workflows/touch-google-refresh-token.yml @@ -0,0 +1,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@24c99245e2a2494cc4c4b1037203d319a184b15b # pin@v1.0.3 + with: + clientId: ${{ secrets.G_CLIENT_ID }} + clientSecret: ${{ secrets.G_CLIENT_SECRET }} + refreshToken: ${{ secrets.G_REFRESH_TOKEN }} |