apps-script-samples icon indicating copy to clipboard operation
apps-script-samples copied to clipboard

How to push app scripts via github actions?

Open PeterLaudel opened this issue 1 year ago • 1 comments

Summary

I like to push scripts via github action.

Expected Behavior

Sample URL: https://github.com/googleworkspace/apps-script-samples/blob/main/.github/workflows/publish.yaml Description:

I like to push apps script via github action. I found this example but don't understand how the login works. What is CLASP_CREDENTIALS ans how is it generated? I tried several things like Workload Identity Federation or just generate a oauth key. But the problem is that there gets open a credential page or things like a 'client_id' is missing.

PeterLaudel avatar Jun 26 '24 17:06 PeterLaudel

For clasp checkout: https://github.com/google/clasp

vinay-google avatar Jul 05 '24 23:07 vinay-google