- Download the client_secret.json
- use the command line:
./youtubeuploader -secrets client_secret.json -filename video.mp4
- This will open oAUTH and ask for user details
- It will then ask you the youtube channel to post on.
- A new
request.token
file will be generated. - Base64 encode for the github action.
base64 -i request.token -o request.token.b64
base64 -i client_secret.json -o client_secret.b64
- Upload to Github under the Settings > Secrets > Actions as:
- CLIENT_SECRETS_B64
- REQUEST_TOKEN_B64