trigger on push instead of release (#1157)
Co-authored-by: Josh Gross <[email protected]>
This commit is contained in:
co-authored by
Josh Gross
parent
ad91ff259d
commit
6b14bf21cb
@@ -1,5 +1,5 @@
|
|||||||
# This workflow will build and push a new container image to Alibaba Cloud Container Registry (ACR),
|
# This workflow will build and push a new container image to Alibaba Cloud Container Registry (ACR),
|
||||||
# and then will deploy it to Alibaba Cloud Container Service for Kubernetes (ACK), when a release is created.
|
# and then will deploy it to Alibaba Cloud Container Service for Kubernetes (ACK), when there is a push to the $default-branch branch.
|
||||||
#
|
#
|
||||||
# To use this workflow, you will need to complete the following set-up steps:
|
# To use this workflow, you will need to complete the following set-up steps:
|
||||||
#
|
#
|
||||||
@@ -20,8 +20,9 @@
|
|||||||
name: Build and Deploy to ACK
|
name: Build and Deploy to ACK
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [created]
|
branches:
|
||||||
|
- $default-branch
|
||||||
|
|
||||||
# Environment variables available to all jobs and steps in this workflow.
|
# Environment variables available to all jobs and steps in this workflow.
|
||||||
env:
|
env:
|
||||||
|
|||||||
+4
-3
@@ -1,5 +1,5 @@
|
|||||||
# This workflow will build and push a new container image to Amazon ECR,
|
# This workflow will build and push a new container image to Amazon ECR,
|
||||||
# and then will deploy a new task definition to Amazon ECS, when a release is created
|
# and then will deploy a new task definition to Amazon ECS, when there is a push to the $default-branch branch.
|
||||||
#
|
#
|
||||||
# To use this workflow, you will need to complete the following set-up steps:
|
# To use this workflow, you will need to complete the following set-up steps:
|
||||||
#
|
#
|
||||||
@@ -27,8 +27,9 @@
|
|||||||
name: Deploy to Amazon ECS
|
name: Deploy to Amazon ECS
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [created]
|
branches:
|
||||||
|
- $default-branch
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AWS_REGION: MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1
|
AWS_REGION: MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will build and push a node.js application to an Azure Web App when a release is created.
|
# This workflow will build and push a node.js application to an Azure Web App when there is a push to the $default-branch branch.
|
||||||
#
|
#
|
||||||
# This workflow assumes you have already created the target Azure App Service web app.
|
# This workflow assumes you have already created the target Azure App Service web app.
|
||||||
# For instructions see https://docs.microsoft.com/azure/app-service/app-service-plan-manage#create-an-app-service-plan
|
# For instructions see https://docs.microsoft.com/azure/app-service/app-service-plan-manage#create-an-app-service-plan
|
||||||
@@ -16,8 +16,9 @@
|
|||||||
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
|
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
|
||||||
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
|
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [created]
|
branches:
|
||||||
|
- $default-branch
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_WEBAPP_NAME: your-app-name # set this to your application's name
|
AZURE_WEBAPP_NAME: your-app-name # set this to your application's name
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will build a docker container, publish it to Google Container Registry, and deploy it to GKE when a release is created
|
# This workflow will build a docker container, publish it to Google Container Registry, and deploy it to GKE when there is a push to the $default-branch branch.
|
||||||
#
|
#
|
||||||
# To configure this workflow:
|
# To configure this workflow:
|
||||||
#
|
#
|
||||||
@@ -13,8 +13,9 @@
|
|||||||
name: Build and Deploy to GKE
|
name: Build and Deploy to GKE
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [created]
|
branches:
|
||||||
|
- $default-branch
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
|
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
|
||||||
|
|||||||
+4
-3
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will build a docker container, publish it to IBM Container Registry, and deploy it to IKS when a release is created
|
# This workflow will build a docker container, publish it to IBM Container Registry, and deploy it to IKS when there is a push to the $default-branch branch.
|
||||||
#
|
#
|
||||||
# To configure this workflow:
|
# To configure this workflow:
|
||||||
#
|
#
|
||||||
@@ -9,8 +9,9 @@
|
|||||||
name: Build and Deploy to IKS
|
name: Build and Deploy to IKS
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [created]
|
branches:
|
||||||
|
- $default-branch
|
||||||
|
|
||||||
# Environment variables available to all jobs and steps in this workflow
|
# Environment variables available to all jobs and steps in this workflow
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will build a docker container, publish and deploy it to Tencent Kubernetes Engine (TKE).
|
# This workflow will build a docker container, publish and deploy it to Tencent Kubernetes Engine (TKE) when there is a push to the $default-branch branch.
|
||||||
#
|
#
|
||||||
# To configure this workflow:
|
# To configure this workflow:
|
||||||
#
|
#
|
||||||
@@ -16,8 +16,9 @@
|
|||||||
name: Tencent Kubernetes Engine
|
name: Tencent Kubernetes Engine
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [created]
|
branches:
|
||||||
|
- $default-branch
|
||||||
|
|
||||||
# Environment variables available to all jobs and steps in this workflow
|
# Environment variables available to all jobs and steps in this workflow
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user