Skip to content

Commit

Permalink
Add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
zrgt committed Apr 18, 2024
1 parent 0ff1662 commit c18b675
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release
on:
push:
branches:
- main
jobs:
activate:
runs-on: ubuntu-latest
if: |
github.repository == 'admin-shell-io/aas-specs-antora-ui' && !startsWith(github.event.head_commit.message, 'Release ')
steps:
- run: echo ok go
build:
needs: activate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Tag and release
env:
GITHUB_API_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
run: npx gulp release

0 comments on commit c18b675

Please sign in to comment.