GitHub Action
Google Drive Upload Action
v0.1.3-alpha
Latest version
This action uploads a file to Google Drive
Required Client_id of the Google App.
Required Client_secret of the Google App.
Required refresh token acquired for a particular user on whose drive you want to upload.
Required Name of the file to upload.
Required Drive folder name where file is to be uploaded.
File_id of the uploaded file on Google drive.
uses: AnshPrakash/google-drive-upload-action@v0.1.3-alpha
with:
client_id: ${{ secrets.CLIENT_ID }}
client_secret: ${{ secrets.CLIENT_SECRET }}
refresh_token: ${{ secrets.REFRESH_TOKEN }}
file-to-upload: 'file.txt'
upload-folder: 'some-folder-on-google-drive'