Skip to content

atatus/deployment-marker-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Atatus Application Deployment Marker

A GitHub Action to add Atatus deployment markers during your release pipeline.

Inputs

Key Required Default Description
apiKey yes - See here to locate the API key
projectId yes - A unique identifier for a project. See here to locate the Project ID.
revision yes - Revision being deployed, such as a Git SHA or version.
releaseStage yes - Release stage of the deployment Example, production and staging.
changes no - Change log or comments to record with this deploy.
user no github.actor The name of the user who deployed.

Example usage

GitHub secrets

Github secrets assumed to be set:

  • ATATUS_API_KEY - API Key (Type - Application Key, Scope - Write)
  • ATATUS_PROJECT_ID - A unique identifier for a project

There are a number of default GitHub environment variables that are used in these examples as well.

Minimum required fields

name: Atatus Deployment Tracker

on:
  push:
    tags:
      - 'v*.*.*'

jobs:
  atatus:
    runs-on: ubuntu-latest
    name: Atatus
    steps:
      - name: Set Release Version from Tag
        run: echo "RELEASE_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV

      - name: Atatus Application Deployment Marker
        uses: atatus/[email protected]
        with:
          apiKey: ${{ secrets.ATATUS_API_KEY }}
          projectId: ${{ secrets.ATATUS_PROJECT_ID }}
          revision: ${{ env.RELEASE_VERSION || github.run_number }}
          releaseStage: 'production'
          changes: ${{ github.sha }}
          user: ${{ github.actor }}

About

Github Action for recording a Deployment Marker in Atatus

Resources

License

Stars

Watchers

Forks

Packages

No packages published