-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy CI failed during "make upload" #58
Comments
On my local environment, running % make dev
echo "/* Miyamoto-san https://github.com/masuidrive/miyamoto/ */" > main.gs
echo "/* (c) masuidrive 2014- License: MIT */" >> main.gs
echo "/* ------------------- */" >> main.gs
cat scripts/*.js | sed -e "s/::VERSION::/`head VERSION`/g" >> main.gs
./node_modules/gas-manager/bin/gas upload -c ./gas-config.json -s ./gas-project-dev.json
can't change type of existing file
/Users/sanak/Projects/georepublic/git/miyamoto/node_modules/gas-manager/out/lib/commands/upload-command.js:91
throw err;
^
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "File not found: 1MozTVoUShzWlsex-YXBhR9VNkRxfH39G21eCz-kFIrk9C3ELApGLzmoM",
"locationType": "other",
"location": "file"
}
],
"code": 404,
"message": "File not found: 1MozTVoUShzWlsex-YXBhR9VNkRxfH39G21eCz-kFIrk9C3ELApGLzmoM"
}
}
(Use `node --trace-uncaught ...` to show where the exception was thrown)
make: *** [dev] Error 1 |
Well, above my local environment issue, moving Google Apps Script from my drive to company drive seems to be the cause of the issue. |
@halsk I couldn't reproduce this issue on my local development environment (by running env: # Or as an environment variable
CLIENT_ID: ${{ secrets.GAS_CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.GAS_CLIENT_SECRET }}
REFRESH_TOKEN: ${{ secrets.GAS_REFRESH_TOKEN }} |
Describe the bug
Deploy CI failed during
make upload
withSyntaxError: Unexpected token < in JSON at position 0
error from #57 commit.https://github.com/Georepublic/miyamoto/actions/runs/4201622444/jobs/7288808913
To Reproduce
Run
make upload
.Expected behavior
The error should not be happen and Google App Script should be updated.
The text was updated successfully, but these errors were encountered: