Update publish.yml

This commit is contained in:
Asim Aslam
2021-10-27 14:33:12 +01:00
committed by GitHub
parent d5415c5305
commit 54d24cd24f

View File

@@ -53,13 +53,13 @@ jobs:
sudo npm install -g prettier sudo npm install -g prettier
openapi2postmanv2 -h openapi2postmanv2 -h
- name: Generate openapi spec and publish the api # - name: Generate openapi spec and publish the api
working-directory: services # working-directory: services
if: github.ref == 'refs/heads/master' # if: github.ref == 'refs/heads/master'
run: | # run: |
go run cmd/publisher/main.go . # go run cmd/publisher/main.go .
env: # env:
MICRO_ADMIN_TOKEN: ${{ secrets.MICRO_ADMIN_TOKEN }} # MICRO_ADMIN_TOKEN: ${{ secrets.MICRO_ADMIN_TOKEN }}
- name: Generate package - name: Generate package
working-directory: services working-directory: services