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 5b00a86 commit 16ed5fdCopy full SHA for 16ed5fd
.github/workflows/build.yml
@@ -0,0 +1,33 @@
1
+
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
7
+name: 🚀 Deploy website on push
8
+jobs:
9
+ web-deploy:
10
+ name: 🎉 Deploy
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: 🚚 Get latest code
14
+ uses: actions/checkout@v4
15
16
+ - name: Use Node.js 22
17
+ uses: actions/setup-node@v2
18
+ with:
19
+ node-version: '22'
20
21
+ - name: 🔨 Build Project
22
+ run: |
23
+ npm install
24
+ npm run build
25
26
+ - name: 📂 Sync files
27
+ uses: SamKirkland/FTP-Deploy-Action@v4.3.5
28
29
+ server: reference8.com
30
+ username: ${{ secrets.SERVER_USERNAME }}
31
+ password: ${{ secrets.SERVER_PASSWORD }}
32
+ port: 65002
33
+ server-dir: /domains/reference8.com/public_html/
0 commit comments