added coundown #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: π DEPLOYING OUR WEBSITE ON PUSH VIA FTP WOHOOOUU! | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| web-deploy: | |
| name: π Deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π Get latest code | |
| uses: actions/checkout@v2 | |
| - name: Use Node.js 16 | |
| uses: actions/setup-node@v2-beta | |
| with: | |
| node-version: '16.13.1' | |
| - name: π¨ Build Project | |
| run: | | |
| npm install | |
| npm run build | |
| - name: π deploy in ftp server | |
| uses: SamKirkland/FTP-Deploy-Action@4.2.0 | |
| with: | |
| server: ftp.smart-sfax.org | |
| username: ${{ secrets.ftp_username }} | |
| password: ${{ secrets.ftp_password }} | |
| local-dir: ./build/ | |
| server-dir: /ias-insat.ieee.tn/ |