mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
update all the makefiles (#111)
* update all the makefiles * add back openapi * update cache package * fix cache * update go mod
This commit is contained in:
18
.github/workflows/publish.yml
vendored
18
.github/workflows/publish.yml
vendored
@@ -43,35 +43,17 @@ jobs:
|
||||
go get -u github.com/golang/protobuf/protoc-gen-go
|
||||
go install
|
||||
|
||||
- name: Install redoc cli
|
||||
run: |
|
||||
# https://github.com/actions/virtual-environments/issues/599
|
||||
sudo npm install -g redoc-cli
|
||||
|
||||
- name: Install openapi plugin
|
||||
working-directory: micro/cmd/protoc-gen-openapi
|
||||
run: |
|
||||
go install
|
||||
|
||||
# - name: Install hugo
|
||||
# run: sudo snap install hugo --channel=extended
|
||||
|
||||
- name: Generate openapi spec and publish the api
|
||||
working-directory: services
|
||||
run: |
|
||||
go run cmd/publisher/main.go .
|
||||
env:
|
||||
MICRO_ADMIN_TOKEN: ${{ secrets.MICRO_ADMIN_TOKEN }}
|
||||
|
||||
# - name: Deploy
|
||||
# if: github.ref == 'refs/heads/master'
|
||||
# uses: s0/git-publish-subdir-action@develop
|
||||
# env:
|
||||
# REPO: self
|
||||
# BRANCH: gh-pages
|
||||
# FOLDER: services/docs
|
||||
# GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
||||
|
||||
- name: Generate package
|
||||
working-directory: services
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user