Closed jr-cologne closed 5 years ago
@jr-cologne thanks, i will take a look for this today
@jr-cologne I'm guessing it because your project file is not available inside the container. Try to add this step before gcloud:
- uses: actions/checkout@v1
This action will copy your repo files to the container.
@jr-cologne try this one:
deploy:
needs: set-env-vars
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: exelban/gcloud@master
env:
PROJECT_ID: ${{secrets.GCLOUD_PROJECT_ID}}
APPLICATION_CREDENTIALS: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
with:
args: app deploy app.yaml cron.yaml
Hi @exelban,
thank you very much for this quick help. It works now thanks to adding the checkout action!
I am going to close this issue.
Have a nice evening!
Best regards, @jr-cologne
Hi @exelban,
I just discovered your Action and encountered the following error when trying it out for the first time:
As you can see in my workflow file, I'm using your Action in order to deploy my application to Google App Engine. Here's the log of the job which failed: click
Unfortunately, I don't really have an idea what all the docker stuff means, but if I would need to guess, it might have something to do with the files from the repository not being synced to the docker container correctly.
Do you have any idea what the issue might be? I'm wondering whether this is a bug in your Action or just me failing to use it correctly.
Thank you in advance and best regards, @jr-cologne