Skip to content

Update github actions versions #38

Update github actions versions

Update github actions versions #38

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