Skip to content

Commit 5762480

Browse files
author
Birrer, Iwan
committed
chore: deploy docs from release tags
- support creating releases from release branch - disable docs deployment for insider releases
1 parent 8a48af3 commit 5762480

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

.github/workflows/insider-release.yml

-6
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,3 @@ jobs:
3636
npm publish --tag=insider --access=public libraries/ui-library-angular/dist/ui-library-angular/
3737
env:
3838
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
39-
40-
- name: 'Deploy Documentation'
41-
uses: JamesIves/github-pages-deploy-action@v4
42-
with:
43-
folder: docs/.vitepress/dist
44-
target-folder: docs

.github/workflows/variables.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Display Variables
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'The version to release. Format vx.x.x(-[rc|beta].x)'
8+
required: true
9+
type: string
10+
push:
11+
12+
jobs:
13+
display-variables:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: 'Display variables'
18+
run: |
19+
echo "github.ref_name: ${{ github.ref_name }}"
20+
echo "github.ref: ${{ github.ref }}"
21+
echo "rev-parse: $(git rev-parse --abbrev-ref HEAD)"

0 commit comments

Comments
 (0)