auto-youtube-subscription-playlist-2 icon indicating copy to clipboard operation
auto-youtube-subscription-playlist-2 copied to clipboard

Use clasp and travis ci

Open victorjzsun opened this issue 4 years ago • 5 comments

  • Test stage pushes code to test sheet and runs test function there
  • Deploy stage pushes code to actual sheet

victorjzsun avatar Apr 22 '20 01:04 victorjzsun

Unable to use service accounts with clasp, can only use token which expires after a week. Probably going to have to update Travis secret with new token at refresh

victorjzsun avatar Mar 07 '21 18:03 victorjzsun

Hi! Why you didn't finish this PR?

mehdichaouch avatar Mar 23 '23 23:03 mehdichaouch

When I was working on it, couldn't get an easy authorization mechanism working. Having to rotate tokens frequently is not easy, at least on Travis CI. Although, there does seem to be a way to do it using GitHub Actions. Will have to look into it more

victorjzsun avatar Mar 28 '23 00:03 victorjzsun

When I was working on it, couldn't get an easy authorization mechanism working. Having to rotate tokens frequently is not easy, at least on Travis CI. Although, there does seem to be a way to do it using GitHub Actions. Will have to look into it more

I encourage you to use GitHub Actions, it's really very convenient, and very powerful. I don't know what CI can do for Google Script, but I think some others repositories have already integrated it into their GitHub Actions CI tools... (I will ask ChatGPT to share some repository 😁)

mehdichaouch avatar Mar 28 '23 06:03 mehdichaouch

@victorjzsun I found that if it can help : https://github.com/google/clasp/issues/707#issuecomment-844364570

mehdichaouch avatar Oct 08 '23 15:10 mehdichaouch