Skip to content

feat: api and refc types #11

feat: api and refc types

feat: api and refc types #11

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: Copy .htaccess πŸ“
run: cp .htaccess dist/
- 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/