Skip to content

Commit 0183e80

Browse files
committed
chore(CI): mv api folder into docs only if is present
1 parent f7d058e commit 0183e80

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/web.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ jobs:
2020
cd docs
2121
npm install
2222
npm run build
23-
mv ../api/ ./build/
23+
if [ -d ../api/ ]
24+
then
25+
mv ../api/ ./build/
26+
fi
2427
- name: Deploy 🚀
2528
uses: JamesIves/github-pages-deploy-action@v4
2629
with:

docs/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const config = {
1414
url: 'https://kelvin-olaiya.github.io',
1515
// Set the /<baseUrl>/ pathname under which your site is served
1616
// For GitHub pages deployment, it is often '/<projectName>/'
17-
baseUrl: '/scala-project-template/',
17+
baseUrl: '/Prolog-as-scalaDSL/',
1818
// baseUrl: '/',
1919

2020
// GitHub pages deployment config.

0 commit comments

Comments
 (0)