Skip to content

Commit

Permalink
Refactor FTP upload step in deployment workflow to improve clarity an…
Browse files Browse the repository at this point in the history
…d organization
  • Loading branch information
ix-benjaminm committed Oct 7, 2024
1 parent b19d95f commit 164db8f
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ 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: Start server
run: cd server && nohup npm run start &

- 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: /

0 comments on commit 164db8f

Please sign in to comment.