-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 864 Bytes
/
main.yml
File metadata and controls
36 lines (32 loc) · 864 Bytes
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
33
34
35
36
on:
push:
branches:
- deploy
name: 🚀 Загрузка вёрстки на тестовый хостинг при пуше
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@v3
with:
node-version: 16.x
- run: npm ci
- run: npm run build
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@4.3.3
with:
server: 89.47.160.33
username: ${{ secrets.ftp_login }}
password: ${{ secrets.ftp_password }}
local-dir: ./
server-dir: /www/anton.uzhi.ru/
dangerous-clean-slate: false
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
Apache_2.4-PHP_8.0-8.1_vhost.conf