File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 22name : GitHub Pages
33on :
44 push :
5- branches :
6- - main
5+ tags :
6+ - ' * '
77
88jobs :
99 build :
3434 cd docs/github-pages/
3535 pnpm install
3636 pnpm build
37+ env :
38+ CVWONDER_VERSION : ${{ github.ref_name }}
3739
3840 - name : Upload static files as artifact
3941 id : deployment
Original file line number Diff line number Diff line change 88 paths :
99 - ' internal/**'
1010 - ' cmd/**'
11- - ' .github/**'
1211 - ' go.mod'
1312 - ' go.sum'
1413
Original file line number Diff line number Diff line change 88 paths :
99 - ' internal/**'
1010 - ' cmd/**'
11- - ' .github/**'
1211 - ' go.mod'
1312 - ' go.sum'
1413
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import {themes as prismThemes} from 'prism-react-renderer';
22import type { Config } from '@docusaurus/types' ;
33import type * as Preset from '@docusaurus/preset-classic' ;
44
5+ const version = process . env . CVWONDER_VERSION || 'dev' ;
6+
57const config : Config = {
68 title : 'CV Wonder' ,
79 tagline : 'Generate your CV with Wonder!' ,
@@ -78,6 +80,16 @@ const config: Config = {
7880 label : 'Export' ,
7981 position : 'left' ,
8082 } ,
83+ {
84+ to : '/docs/validation' ,
85+ label : 'Validation' ,
86+ position : 'left' ,
87+ } ,
88+ {
89+ href : `https://github.com/germainlefebvre4/cvwonder/releases/tag/${ version } ` ,
90+ label : version ,
91+ position : 'right' ,
92+ } ,
8193 {
8294 href : 'https://github.com/germainlefebvre4/cvwonder' ,
8395 label : 'GitHub' ,
You can’t perform that action at this time.
0 commit comments