Skip to content

Commit

Permalink
Adds token refresh action
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Aug 2, 2023
1 parent f9ff103 commit ba627d1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/refresh-token.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Refresh token'
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * 0'

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Refresh Tumblr access token
uses: MarkSuckerberg/[email protected]
with:
secrets-token: ${{ secrets.SECRETS_ACCESS_TOKEN }}
tumblr-refresh-token: ${{ secrets.TUMBLR_REFRESH_TOKEN }}
tumblr-client-id: ${{ secrets.TUMBLR_CLIENT_ID }}
tumblr-client-secret: ${{ secrets.TUMBLR_CLIENT_SECRET }}
token-name: TUMBLR_REFRESH_TOKEN
user-agent: "Typeble-Auth/1.1.0"

0 comments on commit ba627d1

Please sign in to comment.