Skip to content

Commit

Permalink
Merge pull request #554 from opengeospatial/issue-553
Browse files Browse the repository at this point in the history
test/fix bundle workflow
  • Loading branch information
tomkralidis authored Jun 19, 2024
2 parents f91dc40 + 5286f35 commit eb5bb16
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build-openapi-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ jobs:
- name: Generate OpenAPI bundle
run: |
cd core/standard/openapi
swagger-cli bundle -o ogcapi-environmental-data-retrieval-1.bundled.json ogcapi-environmental-data-retrieval-1.yaml
swagger-cli bundle -o /tmp/ogcapi-environmental-data-retrieval-1.bundled.json ogcapi-environmental-data-retrieval-1.yaml
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: Tom Kralidis
author_email: tomkralidis@gmail.com
message: 'Updating OpenAPI bundle'
add: '*.json'
cwd: './core/standard/openapi/'
push: origin master --force

run: |
git config --global user.email "tomkralidis@gmail.com"
git config --global user.name "Tom Kralidis"
mv -f /tmp/ogcapi-environmental-data-retrieval-1.bundled.json .
git add .
git commit -am "Updating OpenAPI build"
git push

0 comments on commit eb5bb16

Please sign in to comment.