Skip to content

Merge pull request #937 from datanfr/bug-motion-censure #27

Merge pull request #937 from datanfr/bug-motion-censure

Merge pull request #937 from datanfr/bug-motion-censure #27

Workflow file for this run

on:
push:
branches:
- master
name: 🚀 Deploy website
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ${{ secrets.host }}
username: ${{ secrets.username }}
password: ${{ secrets.password }}
server-dir: public_html/
exclude: |
*/config/development
*/logs/log-*.php
!*/logs/index.html
*/cache/*
!*/cache/index.html
!*/cache/.htaccess
user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*
application/logs/*
!application/logs/index.html
!application/logs/.htaccess
/vendor/
application/config/custom_config.php
node_modules
test
.sass-cache
package-lock.json
.gitattributes
ressources
.htaccess
.env
*.code-workspace
scripts/*.zip
scripts/votes_individual/*.zip
scripts/architecture
scripts/update_dataset/backup/*.sql
assets/opendata
assets/dataset_backup/general/*.sql
assets/imgs/deputes_original/
assets/imgs/deputes_ogp/
assets/imgs/deputes_webp/
assets/imgs/deputes_nobg/
assets/imgs/deputes_nobg_import/
assets/imgs/deputes_nobg_webp/
assets/imgs/posts/
assets/imgs/captcha/*.jpg
assets/data/*.json
assets/data/professions/election_4/*.pdf
assets/data/professions/election_6/*.pdf
assets/data/*.txt
assets/css/bootstrap*