Skip to content

Commit

Permalink
Update: Modified yml file and landing page to test auto deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicopem01 committed Jun 18, 2023
1 parent 2227c40 commit c201e7b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on:
on:
push:
branches:
- main
Expand All @@ -9,24 +9,24 @@ jobs:
name: Deploy 💨
runs-on: ubuntu-latest
steps:
- name: Get latest code 📦
uses: actions/checkout@v3
- name: Get latest code 📦
uses: actions/checkout@v3

- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Build Project 👨🏼‍💻
run: |
npm install
npm run build
- name: Sync files 📂
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{ secrets.GIT_CPANEL_REACT_SERVER }}
username: ${{ secrets.GIT_CPANEL_REACT_USER }}
password: ${{ secrets.GIT_CPANEL_REACT_PWD }}
protocol: ${{ secrets.GIT_CPANEL_REACT_PROTOCOL }}
local-dir: ${{ secrets.GIT_CPANEL_DEPLOY_DIR }}
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Build Project 👨🏼‍💻
run: |
yarn install
yarn build
- name: Transfer files to remote 📂
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{ secrets.GIT_CPANEL_REACT_SERVER }}
username: ${{ secrets.GIT_CPANEL_REACT_USER }}
password: ${{ secrets.GIT_CPANEL_REACT_PWD }}
protocol: ${{ secrets.GIT_CPANEL_REACT_PROTOCOL }}
local-dir: ${{ secrets.GIT_CPANEL_DEPLOY_DIR }}
4 changes: 2 additions & 2 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ const Home = () => {
<Navbar />
<section>
<div className="flex flex-col gap-4 text-center pt-40 md:pt-52">
<h1 className="px-2 sm:px-16 text-[26px] leading-[31px] lg:text-[56px] lg:leading-[64px] font-semibold text-center max-w-[810px] mx-auto lg:px-0">
{/* <h1 className="px-2 sm:px-16 text-[26px] leading-[31px] lg:text-[56px] lg:leading-[64px] font-semibold text-center max-w-[810px] mx-auto lg:px-0">
Stay accountable while attaining financial freedom
</h1>
</h1> */}
<p className="px-[0.5rem] text-[14px] max-w-[780px] mx-auto text-center leading-[17px] md:max-w-[684px] lg:px-0 lg:text-[22px] lg:leading-[26px]">
Savey is designed to help families and individuals build a financial
freedom through
Expand Down

0 comments on commit c201e7b

Please sign in to comment.