We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b5b4c commit 17fb350Copy full SHA for 17fb350
.github/workflows/deploy.yml
@@ -0,0 +1,30 @@
1
+name: Deploy to cPanel
2
+on:
3
+ push:
4
+ branches: [master]
5
+
6
+jobs:
7
+ build-and-deploy:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v2
11
12
+ - name: Setup Node.js
13
+ uses: actions/setup-node@v2
14
+ with:
15
+ node-version: "18"
16
17
+ - name: Install Dependencies
18
+ run: npm install
19
20
+ - name: Build
21
+ run: npm run build
22
23
+ - name: Deploy to cPanel
24
+ uses: SamKirkland/FTP-Deploy-Action@v4.3.4
25
26
+ server: ${{ secrets.FTP_SERVER }}
27
+ username: ${{ secrets.FTP_USERNAME }}
28
+ password: ${{ secrets.FTP_PASSWORD }}
29
+ local-dir: ./dist/
30
+ server-dir: /wedio.intellwe.com/
0 commit comments