on: push name: 🚀 Deploy website on push jobs: web-deploy: name: 🎉 Deploy runs-on: ubuntu-22.04 steps: - name: 🚚 Get latest code uses: actions/checkout@v3 - name: Use Node.js Latest uses: actions/setup-node@v3 with: node-version: 'latest' - name: 🔨Run Gulp run: | export github="true" npm install npm start - name: 📂 Sync files to server uses: SamKirkland/FTP-Deploy-Action@v4.3.4 with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 password: ${{ secrets.FTPPASSWORD }} local-dir: ./dist/