Skip to content
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

##[error]ENOENT: no such file or directory, open './app.yaml' #13

Closed
yeskiy opened this issue Aug 16, 2020 · 3 comments
Closed

##[error]ENOENT: no such file or directory, open './app.yaml' #13

yeskiy opened this issue Aug 16, 2020 · 3 comments

Comments

@yeskiy
Copy link

yeskiy commented Aug 16, 2020

##[error]ENOENT: no such file or directory, open './app.yaml'
but this file is in the root of the project

@yeskiy yeskiy closed this as completed Aug 16, 2020
@yeskiy yeskiy reopened this Aug 16, 2020
@yeskiy
Copy link
Author

yeskiy commented Aug 16, 2020

My Workflow

name: CI/CD

on:
  push:
    branches: [ master ]
  pull_request:
      branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:

      - name: Initialize Google Cloud SDK
        uses: zxyle/publish-gae-action@master
        with:
          service_account_email: ${{ secrets.GCP_SA_EMAIL }}
          service_account_key: ${{ secrets.GCP_SA_KEY }}
          project_id: ${{ secrets.PROJECT_ID }}
          gae_variables: ${{ secrets.GAE_VARIABLES }}

      - name: Install Dependecies
        run: |
          npm install

      - name: Build
        run: npm run build

      - name: Publish app to Google App Engine
        run: |
          gcloud auth activate-service-account ${{ secrets.GCP_SA_EMAIL }} --key-file=client-secret.json
          gcloud config set project ${{ secrets.PROJECT_ID }}
          gcloud -q app deploy app.yaml --promote

@yeskiy
Copy link
Author

yeskiy commented Aug 16, 2020

What am I doing wrong? My app.yaml is in the root of the repository

@yeskiy
Copy link
Author

yeskiy commented Aug 16, 2020

The problem has been solved.
Just add This to the first step.

 - name: Checkout the repository
        uses: actions/checkout@master

@yeskiy yeskiy closed this as completed Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant