-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 970 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# on:
# push:
# branches: ['2024']
# name: 🚀 Deploy Site w/FTP
# jobs:
# web-deploy:
# name: 🎉 Deploy
# runs-on: ubuntu-latest
# steps:
# - name: 🚚 Get latest code
# uses: actions/checkout@v3
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '20.9.0'
# cache: 'npm'
# - name: 🔨 Build Project
# run: |
# npm install
# npm run build
# - name: 🛸 Enrich Package 👽
# run: cp ./post-deploy/.htaccess ./build/
# - name: 🚢 Deploy Static Site
# uses: SamKirkland/FTP-Deploy-Action@v4.3.4
# with:
# server: ${{ secrets.ftp_server }}
# username: ${{ secrets.ftp_user }}
# password: ${{ secrets.ftp_password }}
# # protocol: ftps
# port: ${{ secrets.ftp_port }}
# local-dir: './build/'
# server-dir: '2024.mcbios.com/'