Skip to content

Go back to old version for sftp #39

Go back to old version for sftp

Go back to old version for sftp #39

Workflow file for this run

name: Build and publish
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove not-wanted files in server
run: "rm -r README.md .git .github"
- uses: actions/upload-artifact@v4
name: Upload Artifact
with:
name: FindMyAC
path: "./*"
- name: Copy repository contents
uses: wangyucode/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
privateKey: ${{ secrets.SSHKEY }}
passphrase: ${{ secrets.PASSPHRASE }}
localDir: "./"
remoteDir: "/var/www/findmyac"
dryRun: false
forceUpload: true