GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - entrecode/action.deploy

BranchesTags
Open more actions menu

Latest commit

 

History

44 Commits
44 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
action.yaml
action.yaml
 
 

Repository files navigation

action.deploy

GitHub composite action for deploying to argoCD

example

deploy:
    runs-on: ubuntu-latest
    
    permissions:
      contents: read

    needs: build

    steps:
      - uses: entrecode/action.deploy@latest
        with:
          PAT: ${{ secrets.PAT }} 
          NAMESPACE: ${{ vars.NAMESPACE }}
          NAME: ${{ vars.NAME }}
          version: ${{ needs.build.outputs.version }}
          env: ${{ needs.build.outputs.env }}
          SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} 
          SLACK_CHANNEL: ${{ vars.SLACK_CHANNEL }}

inputs

All inputs are requried to run the action

Name Type Description
PAT String Personal Access Token as GitHub secret
NAMESPACE String Namespace of the project
NAME String Name of the project
SERVICES String Comma separated list of services to deploy, can be used to use dynamic yq paths
version String Version of the project after the build process (e.g., 1.0.0-dev)
env String Environment of the Cluster after the build process (e.g., stage)
SLACK_TOKEN String SLACK_TOKEN for Deployment Bot App in Slack
SLACK_CHANNEL String Name of the SLACK_CHANNEL for the slack-notifications

NAMESPACE and NAME have to be defined in GitHub as action-variables. version and env are build-outputs.

dynamic yq paths

The action defaults to the path .node.version and .node.gitsha in version.yaml to update the versions. If you want to use a different path in version.yaml, you can use SERVICES variable. Simply add your list of services as a comma separated list and add your custom path seperated by colon. For example: cronjobA:.my.custom.path,cronjobB:.my.custom.path2. If you omit the path for any service, the default path will be used.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.