Skip to content

Commit

Permalink
Update cPanel deployment configuration and base href
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinmambo committed Dec 28, 2023
1 parent f8583e3 commit ea62824
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploycPanel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- name: Deploy to cPanel
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_DEV_SERVER }}
username: ${{ secrets.FTP_DEV_USERNAME }}
password: ${{ secrets.FTP_DEV_PASSWORD }}
server: ${{ secrets.FTP_PUB_SERVER }}
username: ${{ secrets.FTP_PUB_USERNAME }}
password: ${{ secrets.FTP_PUB_PASSWORD }}
local-dir: docs/
server-dir: /
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<title>Ekenyoro</title>
<base href="/frontend_dev/">
<base href="./">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.b5dbbc93a75029d2.css"></head>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:docs": "ng build --base-href=/frontend_dev/ --output-path=docs",
"build:docs": "ng build --base-href=./ --output-path=docs",
"deploy:gh": "ng deploy --base-href=/ekenyoro-frontend/",
"build-and-deploy": "yarn build:docs && yarn deploy:gh --message=\"$npm_config_message\"",
"watch": "ng build --watch --configuration development",
Expand Down

0 comments on commit ea62824

Please sign in to comment.