[NO-PAPI] Enhance updated since filter description #221
This file contains 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: readme.io sync pipeline | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- run: npm install -g rdme | |
- name: Validate API Definitions | |
run: rdme validate personio-personnel-data-api-oa3.yaml | |
- name: Validate Recruiting API Definitions | |
run: rdme validate personio-recruiting-api.yaml | |
- name: Publish API Definitions | |
run: rdme openapi personio-personnel-data-api-oa3.yaml --id=58cd4a8450a0c12500e89bf8 --key ${{ secrets.README_API_KEY }} | |
if: ${{ github.ref == 'refs/heads/master' }} | |
- name: Publish Recruiting API Definitions | |
run: rdme openapi personio-recruiting-api.yaml --id=609158e7204c7e001baff965 --key ${{ secrets.README_API_KEY }} | |
if: ${{ github.ref == 'refs/heads/master' }} |