Skip to content

Commit 8633341

Browse files
Add MD ugly URL processing step to workflows
1 parent 66df648 commit 8633341

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
@@ -41,6 +41,12 @@ jobs:
4141
cp _index.md common/content/${{ env.PRODUCT }}
4242
hugo --source common --minify
4343
44+
45+
- name: Move MD files to ugly URLs
46+
run: |
47+
chmod +x common/move_md_to_ugly_urls.sh
48+
./common/move_md_to_ugly_urls.sh common/public
49+
4450
- name: Deploy sitemap
4551
uses: nogsantos/scp-deploy@master
4652
with:

.github/workflows/publish-qa.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
cp _index.md common/content/${{ env.PRODUCT }}
3838
hugo --source common --minify --baseURL 'https://docs-qa.groupdocs.com/'
3939
40+
41+
- name: Move MD files to ugly URLs
42+
run: |
43+
chmod +x common/move_md_to_ugly_urls.sh
44+
./common/move_md_to_ugly_urls.sh common/public
45+
4046
- name: Deploy sitemap
4147
uses: nogsantos/scp-deploy@master
4248
with:

0 commit comments

Comments
 (0)