Added stacktrace to log entries, e.g. for GET /jobs/{job_id}/logs…
#172
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 characters
| name: Deploy API Spec | |
| on: | |
| release: | |
| types: [published] | |
| push: | |
| branches: | |
| - draft | |
| - master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Inject env variables | |
| uses: rlespinasse/github-slug-action@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 'lts/*' | |
| - uses: actions/checkout@v5 | |
| - run: npm install | |
| - run: npm run build | |
| - name: clone gh-pages and clean-up | |
| if: ${{ env.GITHUB_REF_SLUG == 'master' }} | |
| run: | | |
| git clone --branch gh-pages https://github.com/Open-EO/openeo-api.git gh-pages | |
| find gh-pages -maxdepth 1 -type f -delete | |
| rm -rf gh-pages/assets/ | |
| - name: create empty gh-pages folder | |
| if: ${{ env.GITHUB_REF_SLUG != 'master' }} | |
| run: mkdir gh-pages | |
| - run: | | |
| cp *.html gh-pages/ | |
| cp errors.json gh-pages/errors.json | |
| cp openapi.yaml gh-pages/openapi.yaml | |
| cp -rv assets/. gh-pages/assets/ | |
| - name: deploy to root (master) | |
| uses: peaceiris/actions-gh-pages@v4 | |
| if: ${{ env.GITHUB_REF_SLUG == 'master' }} | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| keep_files: true | |
| publish_dir: gh-pages | |
| user_name: 'openEO CI' | |
| user_email: openeo.ci@uni-muenster.de | |
| - name: deploy to ${{ env.GITHUB_REF_SLUG }} | |
| uses: peaceiris/actions-gh-pages@v4 | |
| if: ${{ env.GITHUB_REF_SLUG != 'master' }} | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: gh-pages | |
| destination_dir: ${{ env.GITHUB_REF_SLUG }} | |
| user_name: 'openEO CI' | |
| user_email: openeo.ci@uni-muenster.de |