Skip to content

feat: .htaccess

feat: .htaccess #3

Workflow file for this run

name: Deploy to cPanel
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout Code 🚚
uses: actions/checkout@v3
- name: Install Dependencies 📦
run: npm install
- name: Build React App 🏗️
run: npm run build
- name: Upload to cPanel 📂
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: dist/
server-dir: /public_html/_subdomains/abonie-short/