File tree 1 file changed +67
-0
lines changed
1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ on : push
2
+ name : 🚀 Deploy website on push
3
+ jobs :
4
+ web-deploy :
5
+ name : 🎉 Deploy
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - name : 🚚 Get latest code
9
+ uses : actions/checkout@v4
10
+
11
+ - name : 📂 Sync files
12
+ uses : SamKirkland/FTP-Deploy-Action@v4.3.5
13
+ with :
14
+ server : ${{ secrets.host }}
15
+ username : ${{ secrets.username }}
16
+ password : ${{ secrets.password }}
17
+ server-dir : public_html/
18
+ exclude : |
19
+ */config/development
20
+ */logs/log-*.php
21
+ !*/logs/index.html
22
+ */cache/*
23
+ !*/cache/index.html
24
+ !*/cache/.htaccess
25
+
26
+ user_guide_src/build/*
27
+ user_guide_src/cilexer/build/*
28
+ user_guide_src/cilexer/dist/*
29
+ user_guide_src/cilexer/pycilexer.egg-info/*
30
+
31
+ application/logs/*
32
+ !application/logs/index.html
33
+ !application/logs/.htaccess
34
+ /vendor/
35
+
36
+ application/config/custom_config.php
37
+
38
+ node_modules
39
+ test
40
+ .sass-cache
41
+ package-lock.json
42
+ .gitattributes
43
+ ressources
44
+ .htaccess
45
+ .env
46
+ *.code-workspace
47
+
48
+ scripts/*.zip
49
+ scripts/votes_individual/*.zip
50
+ scripts/architecture
51
+ scripts/update_dataset/backup/*.sql
52
+
53
+ assets/opendata
54
+ assets/dataset_backup/general/*.sql
55
+ assets/imgs/deputes_original/
56
+ assets/imgs/deputes_ogp/
57
+ assets/imgs/deputes_webp/
58
+ assets/imgs/deputes_nobg/
59
+ assets/imgs/deputes_nobg_import/
60
+ assets/imgs/deputes_nobg_webp/
61
+ assets/imgs/posts/
62
+ assets/imgs/captcha/*.jpg
63
+ assets/data/*.json
64
+ assets/data/professions/election_4/*.pdf
65
+ assets/data/professions/election_6/*.pdf
66
+ assets/data/*.txt
67
+ assets/css/bootstrap*
You can’t perform that action at this time.
0 commit comments