mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-09-01 09:59:22 +00:00
undo rename
This commit is contained in:
parent
0aa009f621
commit
b5e41ac16d
15 changed files with 20 additions and 20 deletions
16
.github/workflows/appengine-deploy-it.yml
vendored
16
.github/workflows/appengine-deploy-it.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
8
.github/workflows/appengine-deploy.yml
vendored
8
.github/workflows/appengine-deploy.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "app-engine-deploy",
|
||||
"name": "appengine-deploy",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
|
@ -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",
|
||||
Loading…
Add table
Add a link
Reference in a new issue