Skip to content

Commit 48beb1d

Browse files
Add MD ugly URL processing step to workflows
1 parent d839724 commit 48beb1d

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/publish-prod.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
cp _index.md common/content/${{ env.PRODUCT }}
4040
hugo --source common --minify
4141
42+
43+
- name: Move MD files to ugly URLs
44+
run: |
45+
chmod +x common/move_md_to_ugly_urls.sh
46+
./common/move_md_to_ugly_urls.sh common/public
47+
4248
- name: Deploy sitemap
4349
uses: nogsantos/scp-deploy@master
4450
with:

.github/workflows/publish-qa.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
cp _index.md common/content/${{ env.PRODUCT }}
4444
hugo --source common --minify --baseURL 'https://docs-qa.groupdocs.com/'
4545
46+
47+
- name: Move MD files to ugly URLs
48+
run: |
49+
chmod +x common/move_md_to_ugly_urls.sh
50+
./common/move_md_to_ugly_urls.sh common/public
51+
4652
- name: Deploy sitemap
4753
uses: nogsantos/scp-deploy@master
4854
with:

0 commit comments

Comments
 (0)