Skip to content

Commit

Permalink
update deploy target
Browse files Browse the repository at this point in the history
  • Loading branch information
Tnze committed Aug 14, 2024
1 parent e17f97a commit ad316b6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "publish"
name: "deploy"
on:
push:
branches:
Expand Down Expand Up @@ -36,16 +36,18 @@ jobs:
deploy-web:
needs: publish-web
runs-on: ubuntu-latest
environment: FTP Deployer
environment: SSH Deployer
steps:
- name: download files
uses: actions/download-artifact@v3
with:
name: bestcraft-dist
- name: sync files
uses: SamKirkland/[email protected]
- name: ssh deploy
uses: easingthemes/[email protected]
with:
server: ${{ vars.FTP_SERVER }}
username: ${{ vars.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
server-dir: /
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlzvc -i"
SOURCE: "./"
REMOTE_HOST: ${{ vars.REMOTE_HOST }}
REMOTE_USER: ${{ vars.REMOTE_USER }}
TARGET: ${{ vars.TARGET }}

0 comments on commit ad316b6

Please sign in to comment.