Update .github/workflows/deploy.yml
This commit is contained in:
parent
4bce09877b
commit
bb2da8dd75
1 changed files with 20 additions and 19 deletions
39
.github/workflows/deploy.yml
vendored
39
.github/workflows/deploy.yml
vendored
|
|
@ -37,23 +37,24 @@ jobs:
|
||||||
name: production-files
|
name: production-files
|
||||||
path: ./dist
|
path: ./dist
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
|
||||||
- name: Download artifact
|
steps:
|
||||||
uses: actions/download-artifact@v3
|
- name: Download artifact
|
||||||
with:
|
uses: actions/download-artifact@v3
|
||||||
name: production-files
|
with:
|
||||||
path: ./dist
|
name: production-files
|
||||||
|
path: ./dist
|
||||||
|
|
||||||
- name: Upload ftp
|
- name: Upload ftp
|
||||||
uses: https://git.lgbt/mirror/ftp-action@releases/v2
|
uses: https://git.lgbt/mirror/ftp-action@releases/v2
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.FTP_SERVER }}
|
host: ${{ secrets.FTP_SERVER }}
|
||||||
user: ${{ secrets.FTP_USER }}
|
user: ${{ secrets.FTP_USER }}
|
||||||
password: ${{ secrets.FTP_PASSWORD }}
|
password: ${{ secrets.FTP_PASSWORD }}
|
||||||
localDir: "dist"
|
localDir: "dist"
|
||||||
remoteDir: "amy.rip"
|
remoteDir: "amy.rip"
|
||||||
options: "--delete"
|
options: "--delete"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue