-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor FTP upload step in deployment workflow for improved readability
- Loading branch information
1 parent
164db8f
commit f765e32
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,16 +33,15 @@ jobs: | |
cp -r client/build/* upload/ | ||
cp -r server/* upload/ | ||
- name: Upload to FTP server | ||
uses: SamKirkland/[email protected] | ||
with: | ||
server: ${{ secrets.FTP_SERVER }} | ||
username: ${{ secrets.FTP_USERNAME }} | ||
password: ${{ secrets.FTP_PASSWORD }} | ||
dangerous-clean-slate: true | ||
local-dir: ./upload/ | ||
server-dir: / | ||
- name: Upload to FTP server | ||
uses: SamKirkland/[email protected] | ||
with: | ||
server: ${{ secrets.FTP_SERVER }} | ||
username: ${{ secrets.FTP_USERNAME }} | ||
password: ${{ secrets.FTP_PASSWORD }} | ||
dangerous-clean-slate: true | ||
local-dir: ./upload/ | ||
server-dir: / | ||
|
||
- name: Start server | ||
run: cd server && nohup npm run start & |