Skip to content

roycdiscovery/pact-canideployto-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pact-canideployto-action

Checks you can deploy based on target tag (i.e. an environment name).

Example

# (This just saves defining these multiple times for different pact jobs)
env:
  application_name: "my-consumer-app"
  pact_broker: ${{ secrets.PACT_BROKER }}
  pact_broker_token: ${{ secrets.PACT_BROKER_TOKEN }}

jobs:
  pact-can-i-deploy-latest:
    runs-on: ubuntu-latest
    steps:
      - uses: roycdiscovery/pact-canideployto-action@v1.0
        env:
          to: "test"
  
  # or ...
  pact-can-i-deploy-specific:
    runs-on: ubuntu-latest
    steps:
      - uses: roycdiscovery/pact-canideployto-action@v1.0
        env:
          version: "1.0.1"
          to: "test"
  
  # or ...
  pact-can-i-move-upstream:
    runs-on: ubuntu-latest
    steps:
      - uses: roycdiscovery/pact-canideployto-action@v1.0
        env:
          latest: "test"
          to: "stage"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published