-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.54 KB
/
export.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: export
on:
workflow_dispatch:
inputs:
exporter:
type: choice
description: 'Exporter to use'
required: true
options:
- box
- dropbox
- github
- onedrive
prefixPath:
type: string
description: 'Prefix path for content'
jobs:
export:
runs-on: ubuntu-latest
steps:
- name: Export
uses: patxibocos/google-photos-exporter@v1
with:
exporter: ${{ github.event.inputs.exporter }}
prefixPath: ${{ github.event.inputs.prefixPath }}
googlePhotosClientId: ${{ secrets.GOOGLE_PHOTOS_CLIENT_ID }}
googlePhotosClientSecret: ${{ secrets.GOOGLE_PHOTOS_CLIENT_SECRET }}
googlePhotosRefreshToken: ${{ secrets.GOOGLE_PHOTOS_REFRESH_TOKEN }}
githubAccessToken: ${{ secrets.GH_PHOTOS_REPOSITORY_TOKEN }}
githubRepositoryOwner: ${{ secrets.GH_PHOTOS_REPOSITORY_OWNER }}
githubRepositoryName: ${{ secrets.GH_PHOTOS_REPOSITORY_NAME }}
dropboxAppKey: ${{ secrets.DROPBOX_APP_KEY }}
dropboxAppSecret: ${{ secrets.DROPBOX_APP_SECRET }}
dropboxRefreshToken: ${{ secrets.DROPBOX_REFRESH_TOKEN }}
onedriveClientId: ${{ secrets.ONEDRIVE_CLIENT_ID }}
onedriveClientSecret: ${{ secrets.ONEDRIVE_CLIENT_SECRET }}
onedriveRefreshToken: ${{ secrets.ONEDRIVE_REFRESH_TOKEN }}
boxClientId: ${{ secrets.BOX_CLIENT_ID }}
boxClientSecret: ${{ secrets.BOX_CLIENT_SECRET }}
boxUserId: ${{ secrets.BOX_USER_ID }}