Skip to content

Commit

Permalink
chore: deploy docs from release tags
Browse files Browse the repository at this point in the history
- support creating releases from release branch
- disable docs deployment for insider releases
  • Loading branch information
Birrer, Iwan committed Feb 13, 2025
1 parent 8a48af3 commit 5762480
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/insider-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,3 @@ jobs:
npm publish --tag=insider --access=public libraries/ui-library-angular/dist/ui-library-angular/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

- name: 'Deploy Documentation'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/.vitepress/dist
target-folder: docs
21 changes: 21 additions & 0 deletions .github/workflows/variables.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Display Variables

on:
workflow_dispatch:
inputs:
version:
description: 'The version to release. Format vx.x.x(-[rc|beta].x)'
required: true
type: string
push:

jobs:
display-variables:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Display variables'
run: |
echo "github.ref_name: ${{ github.ref_name }}"
echo "github.ref: ${{ github.ref }}"
echo "rev-parse: $(git rev-parse --abbrev-ref HEAD)"

0 comments on commit 5762480

Please sign in to comment.