Skip to content

Commit

Permalink
#6 ftp upload (#24)
Browse files Browse the repository at this point in the history
* [Task] #6 provide fallback index.html

* [Task] #6 production ready code (m)

move httpdocs folder to dist
have compile without sourcemaps for faster speed

* [Task] #6 create github action for upload when main is updated (#21)

* [change] #6 new ftp upload action
  • Loading branch information
Type-Style authored Jan 12, 2024
1 parent eb40bfd commit 1410a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- name: Build
run: npm run build:prod
- name: Upload ftp
uses: GenieTim/ftp-action@v4.0.1
uses: airvzxf/ftp-deployment-action@latest
with:
host: ${{ secrets.FTP_SERVER }}
user: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
localDir: "dist"
local_dir: "dist"

0 comments on commit 1410a37

Please sign in to comment.