Skip to content

Commit

Permalink
displicandum-gh-pages-gh-actions (#8): added openapi-generator-cli de…
Browse files Browse the repository at this point in the history
…pendencies; first test trying to use github actions
  • Loading branch information
fititnt committed May 12, 2021
1 parent afc9b66 commit 1b8ed08
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/05-deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,29 @@ jobs:

- name: Build
run: bash systema/infrastructuram/travis-ci.sh
- name: Build
run: 'echo "hapi.etica.ai" > ./CNAME'

# @see https://github.com/actions/setup-java#supported-distributions
- name: "Java installation (required by openapi-generator-cli)"
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: "11"

# @see https://github.com/actions/setup-node
- name: "Node/NPM installation (required by openapi-generator-cli)"
uses: actions/setup-node@v2
with:
node-version: "14"

- name: "npm install -g @openapitools/openapi-generator-cli"
run: npm install -g @openapitools/openapi-generator-cli

- name: "openapi-generator-cli: generate files"
run: bash ./systema/programma/openapi-exportandum.sh

- name: "Steps before Jekyll: CNAME"
run: |
echo "hapi.etica.ai" > ./CNAME
# run: make ci
- name: Deploy to HXL-CPLP/hapi.etica.ai
Expand Down

0 comments on commit 1b8ed08

Please sign in to comment.