Skip to content

Commit

Permalink
fix: Update deploy workflow to solve Node version error
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinmambo committed Dec 28, 2023
1 parent ea62824 commit 1a6552f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploycPanel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to cPanel
name: 🚀 Deploy website to cPanel

on:
push:
Expand All @@ -12,11 +12,16 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: 🚚 Get latest code
uses: actions/checkout@v3

- name: Deploy to cPanel
uses: SamKirkland/[email protected]
- name: 🔨 Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: "16"

- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_PUB_SERVER }}
username: ${{ secrets.FTP_PUB_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

<body>
<app-root></app-root>
<script src="runtime.131c385592ac2082.js" type="module"></script><script src="polyfills.752197c89f767cb7.js" type="module"></script><script src="scripts.4e6d6f582996c29b.js" defer></script><script src="main.c3990ce1102af74e.js" type="module"></script></body>
<script src="runtime.131c385592ac2082.js" type="module"></script><script src="polyfills.752197c89f767cb7.js" type="module"></script><script src="scripts.4e6d6f582996c29b.js" defer></script><script src="main.c9eac6532367f9a5.js" type="module"></script></body>

</html>

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/app/components/home/home.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
position: relative;
overflow: hidden;
min-height: 100vh;
padding-top: 60px;

&:before {
content: '';
Expand Down

0 comments on commit 1a6552f

Please sign in to comment.