Skip to content

Commit 03d6833

Browse files
Updated Doc Publishing
1 parent b52e1ee commit 03d6833

File tree

84 files changed

+25
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+25
-6
lines changed

.github/workflows/publish-docs.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,14 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
build:
23-
uses: jqassistant-tooling/jqassistant-github-actions/.github/workflows/publish-docs.yml@main
22+
publish_docs:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
29+
- name: Publish Versioned Quartz GitHub Pages
30+
uses: RelativeProgramming/versioned-quartz-gh-pages-deploy@v1.0.0
31+
with:
32+
quartz-repo: 'jqassistant-tooling/jqassistant-quartz-docs'

.github/workflows/release.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545

4646
- name: Setup Node.js (LTS)
4747
uses: actions/setup-node@v3
@@ -66,7 +66,17 @@
6666
token: ${{ secrets.NPM_TOKEN }}
6767
package: ./typescript
6868

69+
- name: Publish Versioned Quartz GitHub Pages
70+
uses: RelativeProgramming/versioned-quartz-gh-pages-deploy@v1.0.0
71+
with:
72+
quartz-repo: 'jqassistant-tooling/jqassistant-quartz-docs'
73+
deployment-version: ${{ github.event.inputs.releaseVersion }}
74+
6975
- name: Update package.json to development version
7076
working-directory: ./typescript
71-
run: npm version ${{ github.event.inputs.developmentVersion }} --no-git-tag-version
72-
77+
run: |
78+
npm version ${{ github.event.inputs.developmentVersion }} --no-git-tag-version
79+
git config --global user.name "${{ github.actor }}"
80+
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
81+
git commit -m "Updated package.json to development version"
82+
git push

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ target
2323
**/.reports/jqa/
2424

2525
# Docs
26-
docs/content/.obsidian/workspace.json
26+
docs/.obsidian/workspace.json
2727

2828
# DrawIO
2929
*.drawio.bkp
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)