Skip to content

Commit

Permalink
Update PF structure
Browse files Browse the repository at this point in the history
  • Loading branch information
dhidalgX committed Apr 8, 2024
1 parent 47ac0fd commit 72fb74d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/purefinance_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,19 @@ jobs:
cd site
BASE_PATH="/pure.finance" npm run build
- name: Content Files
run: |
mkdir -p pure.finance
rsync -av --exclude='index.html' purefinance/site/out/ pure.finance/
cp purefinance/site/out/index.html .
- name: Copy files to Hostinger
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOSTINGER_HOST }}
username: ${{ secrets.HOSTINGER_USER }}
port: ${{ secrets.HOSTINGER_PORT }}
key: ${{ secrets.HOSTINGER_SSH_KEY }}
source: site/out/*
target: public_html/tools
source: "pure.finance/* , index.html"
target: public_html/purefinance
rm: true

0 comments on commit 72fb74d

Please sign in to comment.