Skip to content

Informatique menu : fix commit précédent (hahem) #36

Informatique menu : fix commit précédent (hahem)

Informatique menu : fix commit précédent (hahem) #36

Workflow file for this run

on:
push
name: 🚀 Deploy site
jobs:
web-deploy-test:
if: startsWith(github.ref, 'refs/heads/') && github.ref != 'refs/heads/master'
name: 🎉 Deploy TEST
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: 🔄️ Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
dry-run: true
log-level: standard
exclude: |
**/.git*
**/.git*/**
web-deploy-prod:
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master'
name: 🎉 Deploy PROD
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: 🔄️ Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
dry-run: false
log-level: verbose
exclude: |
**/.git*
**/.git*/**