Skip to content

Commit

Permalink
Add release Gh action (#277)
Browse files Browse the repository at this point in the history
* Add release Gh action
* Update tag
  • Loading branch information
jelmerderonde authored Sep 21, 2022
1 parent 27d91bc commit 9c5cdc3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: release

on:
push:
branches:
- 'master'
tags:
- "release-*"

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
- name: Generate v4 bundle
run: npx @redocly/cli bundle v4/spec.yaml -d -o ooapiv4.yaml
- name: Generate v5 bundle
run: npx @redocly/cli bundle v5/spec.yaml -d -o ooapiv5.yaml
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
ooapiv4.yaml
ooapiv5.yaml

0 comments on commit 9c5cdc3

Please sign in to comment.