Skip to content

Merge pull request #728 from italia/feature/url_fragments #290

Merge pull request #728 from italia/feature/url_fragments

Merge pull request #728 from italia/feature/url_fragments #290

Workflow file for this run

name: CD (commit on master)
on:
push:
branches:
- master
paths-ignore:
- '*.md'
jobs:
deploy:
runs-on: 'ubuntu-20.04'
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '16'
check-latest: true
cache: yarn
- uses: robinraju/[email protected]
with:
repository: italia/api-oas-checker-rules
fileName: '*'
out-file-path: rulesets/
latest: true
- name: Unzip files
run: |
for file in rulesets/*.zip; do
unzip -o "$file" -d rulesets/
done
- name: Build ui, test ui and deploy
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/italia/api-oas-checker.git
make deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}