Skip to content

Commit 289cdbd

Browse files
committed
setup github workflows
1 parent 59ee2cf commit 289cdbd

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
- name: FTP Deploy
4848
uses: pressidium/lftp-mirror-action@v1
4949
with:
50-
host: ${{ secrets.FTP_SERVER }} # Your FTP server
51-
user: ${{ secrets.FTP_USERNAME }} # Store your FTP username in GitHub Secrets
52-
pass: ${{ secrets.FTP_PASSWORD }} # Store your FTP password in GitHub Secrets
53-
localDir: ./dist/ # Adjust this to your build output directory
54-
remoteDir: ${{ secrets.FTP_SERVER_DEV_PATH }} # Adjust this to your desired server directory
50+
host: ${{ secrets.FTP_SERVER }}
51+
user: ${{ secrets.FTP_USERNAME }}
52+
pass: ${{ secrets.FTP_PASSWORD }}
53+
localDir: ./
54+
remoteDir: ${{ secrets.FTP_SERVER_DEV_PATH }}

.github/workflows/deploy-prod.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
- name: FTP Deploy
4848
uses: pressidium/lftp-mirror-action@v1
4949
with:
50-
host: ${{ secrets.FTP_SERVER }} # Your FTP server
51-
user: ${{ secrets.FTP_USERNAME }} # Store your FTP username in GitHub Secrets
52-
pass: ${{ secrets.FTP_PASSWORD }} # Store your FTP password in GitHub Secrets
53-
localDir: ./dist/ # Adjust this to your build output directory
54-
remoteDir: ${{ secrets.FTP_SERVER_PROD_PATH }} # Adjust this to your desired server directory
50+
host: ${{ secrets.FTP_SERVER }}
51+
user: ${{ secrets.FTP_USERNAME }}
52+
pass: ${{ secrets.FTP_PASSWORD }}
53+
localDir: ./
54+
remoteDir: ${{ secrets.FTP_SERVER_PROD_PATH }}

0 commit comments

Comments
 (0)