fix: filter function for deadline in /careers (#415) #102
This file contains 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: Deploy to cPanel | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- dev | |
jobs: | |
deploy: | |
name: Build & FTP Sync | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '20' | |
- name: ⬇️ Install dependencies | |
run: npm ci | |
- name: 🛠️ Build Next.js application | |
run: npm run build | |
- name: 📂 Sync files | |
uses: sebastianpopp/ftp-action@releases/v2 | |
with: | |
host: ${{ secrets.BETA_FTP_SERVER }} | |
user: ${{ secrets.BETA_FTP_USERNAME }} | |
password: ${{ secrets.BETA_FTP_PASSWORD }} | |
localDir: ./out/ | |
options: "--parallel=10 --exclude-glob=**/docs/**" |