Skip to content

Commit 8edfda6

Browse files
Add MD ugly URL processing step to workflows
1 parent 4c2a233 commit 8edfda6

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

.github/workflows/publish-qa.yml

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

0 commit comments

Comments
 (0)