Created
August 14, 2020 09:45
Revisions
-
epintos revised this gist
Aug 14, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Deploy API Documentation on: push: branches: - master jobs: deploy-doc-apiary: -
epintos created this gist
Aug 14, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ name: Deploy API Documentation on: push: branches: - open-api jobs: deploy-doc-apiary: name: Push API doc to Apiary runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: 2.7 - run: gem install apiaryio - run: apiary publish --api-name="YOUR-API-NAME" --path="YOUR-OPEN-API-LOCAL-FILE" env: APIARY_API_KEY: YOUR-API-KEY # Generate it here: https://login.apiary.io/tokens