Skip to content

Commit

Permalink
feat: update gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lok52 committed Oct 31, 2024
1 parent 2eac3ee commit afb4c58
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/multichain-aggregator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ on:
paths:
- multichain-aggregator/**
- .github/workflows/multichain-aggregator.yml
- .github/workflows/_*.yml
- .github/actions/**
- .github/actions/deps/**
pull_request:
paths:
- multichain-aggregator/**
- .github/workflows/multichain-aggregator.yml
- .github/workflows/_*.yml
- .github/actions/**
- .github/actions/deps/**

name: Test, lint and docker (multichain-aggregator)

Expand Down Expand Up @@ -80,3 +78,12 @@ jobs:
uses: ./.github/workflows/_docker-build-push.yml
with:
service-name: multichain-aggregator

push-swagger:
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags'))
uses: ./.github/workflows/_push_swagger.yml
with:
service_name: 'multichain-aggregator'
swagger_path: 'multichain-aggregator/multichain-aggregator-proto/swagger/v1/multichain-aggregator.swagger.yaml'
secrets:
api_token_github: ${{ secrets.BLOCKSCOUT_BOT_TOKEN }}

0 comments on commit afb4c58

Please sign in to comment.