Skip to content

protoconf/protoconf-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

When updating master

# file: .github/workflows/protoconf-master.yml
on:
  push:
    branches:
      - master

name: Protoconf insert to production
jobs:
  checks:
    name: insert
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Insert changes
        uses: protoconf/protoconf-actions@master
        with:
          store_type: consul
          store_address: ${{secrets.CONSUL_ADDR}}
          prefix: production
          before_commit: ${{ github.event.before }}
          after_commit: ${{ github.event.after }}

When updating a branch

# file: .github/workflows/protoconf-branch.yml
on:
  push:
    branches-ignore:
      - master

name: Protoconf insert to branch
jobs:
  checks:
    name: insert
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Insert changes
      uses: protoconf/protoconf-actions@master
      with:
        store_type: consul
        store_address: ${{secrets.CONSUL_ADDR}}
        prefix: ${{ github.ref }}
        changes_only: false

About

Github Actions for Protoconf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published