Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

addresscloud/google-drive-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-drive-action

standard-readme compliant

An action to upload to Google Drive

Table of Contents

Inputs

skicka-tokencache-json

description 'Content of ~/.skicka.tokencache.json created by the skicka command' required true

upload-from

description 'The path where the files to upload are located' default './' required false

upload-to

description 'The path where the files to be uploaded is located' required true

remove-outdated

description 'Whether to delete files that do not exist locally' default 'true' required false

google-client-id

description Your Google Drive API client ID required true

google-client-secret

description Your Google Drive API client secret required true

Usage

- 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 }}

Maintainers

@talltom

Contributing

Create docker image

Refreshing image:

 docker build -t google-drive-action .

Docker login to GitHub:

echo TOKEN | docker login -u USERNAME --password-stdin docker.pkg.github.com

Tag the image:

docker tag IMAGE_ID docker.pkg.github.com/addresscloud/google-drive-action/google-drive-action:VERSION

Publish 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.

License

apl-2.0 © 2020 Merritt Krakowitzer

About

A github action for pushing content to google drive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 73.7%
  • Dockerfile 26.3%