Skip to content

Actions para padronizar e executar deployments na AWS

Notifications You must be signed in to change notification settings

Quasar-Flash/workflow-dpl-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workflow-dpl-action

Deployment workflow for AWS EKS.

How to use it

Set the required secrets:

AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
CLUSTER_NAME:
ECR_REGISTRY:

Create a workflow inside your project and import this:

name: Deploy Production
on:
  workflow_dispatch:
  push:
    branches:
      - master
concurrency:
  group: ${{ github.workflow }}
  cancel-in-progress: true
jobs:
  Deploying:
    uses: Quasar-Flash/workflow-dpl-action/.github/workflows/deployment.yml@master
    with:
      environment: production
      environment_url: https://url.com
      release: true # not required, use it only for production
    secrets: inherit

Set a project version at the file .version with only the numbers:

touch .version && echo "1.0.0" > .version

Docker Image - Workflow