An action to upload to Google Drive
description 'Content of ~/.skicka.tokencache.json created by the skicka command'
required true
description 'The path where the files to upload are located'
default './'
required false
description 'The path where the files to be uploaded is located'
required true
description 'Whether to delete files that do not exist locally'
default 'true'
required false
description Your Google Drive API client ID
required true
description Your Google Drive API client secret
required true
- uses: addresscloud/[email protected]
with:
upload-from: ./My-file.pdf
upload-to: /
skicka-tokencache-json: ${{ secrets.FOO }}
google-client-id: ${{ secrets.BAR }}
google-client-secret: ${{ secrets.BAZ }}
Refreshing image:
docker build -t google-drive-action .Docker login to GitHub:
echo TOKEN | docker login -u USERNAME --password-stdin docker.pkg.github.comTag the image:
docker tag IMAGE_ID docker.pkg.github.com/addresscloud/google-drive-action/google-drive-action:VERSIONPublish to GitHub:
docker push docker.pkg.github.com/addresscloud/google-drive-action/google-drive-action:VERSION
Small note: If editing the README, please conform to the standard-readme specification.
apl-2.0 © 2020 Merritt Krakowitzer