Skip to content

A Github Action to clean the deployment made by the main Lona GitHub Action.

Notifications You must be signed in to change notification settings

Lona/lona-clean-github-action

Repository files navigation

Lona Clean GitHub Action

A Github Action to clean the deployment made by the main Lona GitHub Action.

Usage

name: Lona
on: delete

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: Lona/lona-clean-github-action@v1
        id: lona
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          ref_type: ${{ github.event.ref_type }}
          ref_name: ${{ github.event.ref }}

Inputs

  • github_token (required) - Required for permission to tag the repo. Usually ${{ secrets.GITHUB_TOKEN }}.
  • ref_type (required) - The object that was deleted. Can be branch or tag. Usually ${{ github.event.ref_type }}.
  • ref_name (required) - The git ref that was deleted. Usually ${{ github.event.ref }}.
  • lona_api_base_url - The Lona API server URL.

About

A Github Action to clean the deployment made by the main Lona GitHub Action.

Resources

Stars

Watchers

Forks

Packages

No packages published