From b5e41ac16dde2de4f176a9bf8d21794dfe4bc869 Mon Sep 17 00:00:00 2001 From: averikitsch Date: Tue, 12 May 2020 10:15:53 -0700 Subject: [PATCH] undo rename --- .github/workflows/appengine-deploy-it.yml | 16 ++++++++-------- .github/workflows/appengine-deploy.yml | 8 ++++---- .../.eslintrc.js | 0 .../.gitignore | 0 .../.prettierrc.js | 0 .../README.md | 12 ++++++------ .../action.yml | 0 .../dist/index.js | 0 .../package-lock.json | 2 +- .../package.json | 2 +- .../src/main.ts | 0 .../test/app.yaml | 0 .../test/main.py | 0 .../test/requirements.txt | 0 .../tsconfig.json | 0 15 files changed, 20 insertions(+), 20 deletions(-) rename {app-engine-deploy => appengine-deploy}/.eslintrc.js (100%) rename {app-engine-deploy => appengine-deploy}/.gitignore (100%) rename {app-engine-deploy => appengine-deploy}/.prettierrc.js (100%) rename {app-engine-deploy => appengine-deploy}/README.md (92%) rename {app-engine-deploy => appengine-deploy}/action.yml (100%) rename {app-engine-deploy => appengine-deploy}/dist/index.js (100%) rename {app-engine-deploy => appengine-deploy}/package-lock.json (99%) rename {app-engine-deploy => appengine-deploy}/package.json (97%) rename {app-engine-deploy => appengine-deploy}/src/main.ts (100%) rename {app-engine-deploy => appengine-deploy}/test/app.yaml (100%) rename {app-engine-deploy => appengine-deploy}/test/main.py (100%) rename {app-engine-deploy => appengine-deploy}/test/requirements.txt (100%) rename {app-engine-deploy => appengine-deploy}/tsconfig.json (100%) diff --git a/.github/workflows/appengine-deploy-it.yml b/.github/workflows/appengine-deploy-it.yml index 03906609..0603b52a 100644 --- a/.github/workflows/appengine-deploy-it.yml +++ b/.github/workflows/appengine-deploy-it.yml @@ -1,4 +1,4 @@ -name: app-engine-deploy Integration +name: appengine-deploy Integration on: [push, pull_request] jobs: gcloud: @@ -12,10 +12,10 @@ jobs: export_default_credentials: true - id: deploy name: Deploy to App Engine - uses: ./app-engine-deploy + uses: ./appengine-deploy with: - project_id: ${{ secrets.APPENGINE_DEPLOY_PROJECT_ID }} - deliverables: ./app-engine-deploy/test/app.yaml + project_id: ${{ secrets.SETUP_GCLOUD_IT_PROJECT_ID }} + deliverables: ./appengine-deploy/test/app.yaml version: gcloud - name: Test Output run: curl '${{ steps.deploy.outputs.url }}' @@ -28,10 +28,10 @@ jobs: - uses: actions/checkout@v2 - id: deploy name: Deploy to App Engine - uses: ./app-engine-deploy + uses: ./appengine-deploy with: credentials: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_B64 }} - deliverables: ./app-engine-deploy/test/app.yaml + deliverables: ./appengine-deploy/test/app.yaml version: b64-json promote: false # Allows for deletion - name: Test Output @@ -48,10 +48,10 @@ jobs: - uses: actions/checkout@v2 - id: deploy name: Deploy to App Engine - uses: ./app-engine-deploy + uses: ./appengine-deploy with: credentials: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }} - deliverables: ./app-engine-deploy/test/app.yaml + deliverables: ./appengine-deploy/test/app.yaml version: json promote: false # Allows for deletion - name: Test Output diff --git a/.github/workflows/appengine-deploy.yml b/.github/workflows/appengine-deploy.yml index bbce44f5..b2db4531 100644 --- a/.github/workflows/appengine-deploy.yml +++ b/.github/workflows/appengine-deploy.yml @@ -1,8 +1,8 @@ -name: app-engine-deploy Unit +name: appengine-deploy Unit on: [push, pull_request] jobs: run: - name: app-engine-deploy + name: appengine-deploy runs-on: ${{ matrix.operating-system }} strategy: matrix: @@ -16,8 +16,8 @@ jobs: - name: npm install run: npm install - working-directory: ./app-engine-deploy + working-directory: ./appengine-deploy - name: npm lint run: npm run lint - working-directory: ./app-engine-deploy + working-directory: ./appengine-deploy diff --git a/app-engine-deploy/.eslintrc.js b/appengine-deploy/.eslintrc.js similarity index 100% rename from app-engine-deploy/.eslintrc.js rename to appengine-deploy/.eslintrc.js diff --git a/app-engine-deploy/.gitignore b/appengine-deploy/.gitignore similarity index 100% rename from app-engine-deploy/.gitignore rename to appengine-deploy/.gitignore diff --git a/app-engine-deploy/.prettierrc.js b/appengine-deploy/.prettierrc.js similarity index 100% rename from app-engine-deploy/.prettierrc.js rename to appengine-deploy/.prettierrc.js diff --git a/app-engine-deploy/README.md b/appengine-deploy/README.md similarity index 92% rename from app-engine-deploy/README.md rename to appengine-deploy/README.md index f2802a5f..7f3c2716 100644 --- a/app-engine-deploy/README.md +++ b/appengine-deploy/README.md @@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -# app-engine-deploy +# appengine-deploy This action deploys your source code to [App Engine][gae] and makes the URL available to later build steps via outputs. This allows you to parameterize your @@ -32,7 +32,7 @@ App Engine Application. See the Authorization section below for more information ```yaml steps: - id: deploy - uses: GoogleCloudPlatform/github-actions/app-engine-deploy@master + uses: GoogleCloudPlatform/github-actions/appengine-deploy@master with: credentials: ${{ secrets.gcp_credentials }} @@ -89,7 +89,7 @@ Roles needed: ### Used with setup-gcloud You can provide credentials using the [setup-gcloud][setup-gcloud] action, -however you must provide your Project ID to the `app-engine-deploy` action: +however you must provide your Project ID to the `appengine-deploy` action: ```yaml - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master @@ -98,7 +98,7 @@ however you must provide your Project ID to the `app-engine-deploy` action: service_account_key: ${{ secrets.GCP_SA_KEY }} export_default_credentials: true - id: Deploy - uses: GoogleCloudPlatform/github-actions/app-engine-deploy@master + uses: GoogleCloudPlatform/github-actions/appengine-deploy@master with: project_id: ${{ secrets.project_id }} ``` @@ -112,7 +112,7 @@ action: ```yaml - id: Deploy - uses: GoogleCloudPlatform/github-actions/app-engine-deploy@master + uses: GoogleCloudPlatform/github-actions/appengine-deploy@master with: credentials: ${{ secrets.GCP_SA_KEY }} ``` @@ -126,7 +126,7 @@ only works using a custom runner hosted on GCP.** ```yaml - id: Deploy - uses: GoogleCloudPlatform/github-actions/app-engine-deploy@master + uses: GoogleCloudPlatform/github-actions/appengine-deploy@master ``` The action will automatically detect and use the Application Default diff --git a/app-engine-deploy/action.yml b/appengine-deploy/action.yml similarity index 100% rename from app-engine-deploy/action.yml rename to appengine-deploy/action.yml diff --git a/app-engine-deploy/dist/index.js b/appengine-deploy/dist/index.js similarity index 100% rename from app-engine-deploy/dist/index.js rename to appengine-deploy/dist/index.js diff --git a/app-engine-deploy/package-lock.json b/appengine-deploy/package-lock.json similarity index 99% rename from app-engine-deploy/package-lock.json rename to appengine-deploy/package-lock.json index 960afda9..e5994733 100644 --- a/app-engine-deploy/package-lock.json +++ b/appengine-deploy/package-lock.json @@ -1,5 +1,5 @@ { - "name": "app-engine-deploy", + "name": "appengine-deploy", "version": "0.1.0", "lockfileVersion": 1, "requires": true, diff --git a/app-engine-deploy/package.json b/appengine-deploy/package.json similarity index 97% rename from app-engine-deploy/package.json rename to appengine-deploy/package.json index 2269f467..cd75c08a 100644 --- a/app-engine-deploy/package.json +++ b/appengine-deploy/package.json @@ -1,5 +1,5 @@ { - "name": "app-engine-deploy", + "name": "appengine-deploy", "version": "0.1.0", "description": "Github Action: Deploy to Google App Engine", "main": "dist/index.js", diff --git a/app-engine-deploy/src/main.ts b/appengine-deploy/src/main.ts similarity index 100% rename from app-engine-deploy/src/main.ts rename to appengine-deploy/src/main.ts diff --git a/app-engine-deploy/test/app.yaml b/appengine-deploy/test/app.yaml similarity index 100% rename from app-engine-deploy/test/app.yaml rename to appengine-deploy/test/app.yaml diff --git a/app-engine-deploy/test/main.py b/appengine-deploy/test/main.py similarity index 100% rename from app-engine-deploy/test/main.py rename to appengine-deploy/test/main.py diff --git a/app-engine-deploy/test/requirements.txt b/appengine-deploy/test/requirements.txt similarity index 100% rename from app-engine-deploy/test/requirements.txt rename to appengine-deploy/test/requirements.txt diff --git a/app-engine-deploy/tsconfig.json b/appengine-deploy/tsconfig.json similarity index 100% rename from app-engine-deploy/tsconfig.json rename to appengine-deploy/tsconfig.json