Skip to content

Commit

Permalink
Copy swagger job for smart-contract-verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
rimrakhimov authored and sevenzing committed Sep 4, 2024
1 parent 040868d commit e7032b5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/smart-contract-verifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,22 @@ jobs:
uses: ./.github/workflows/_docker-build-push.yml
with:
service-name: smart-contract-verifier

copy-swagger:
name: Copy swagger
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Pushes
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'smart-contract-verifier/smart-contract-verifier-proto/swagger/v2/smart-contract-verifier.swagger.yaml'
destination_repo: 'blockscout/swaggers'
destination_folder: 'services/smart-contract-verifier/swagger.yaml'
user_email: 'rimrakhimov@gmail.com '
user_name: 'rimrakhimov'
destination_branch: 'master'

0 comments on commit e7032b5

Please sign in to comment.