Skip to content

fix file release

fix file release #8

Workflow file for this run

name: scp files
on:
push:
tags:
- "release*"
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
github_repo: $(basename ${{ github.repository }})
steps:
- uses: actions/checkout@v4
- name: copy file via ssh password
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
source: .
target: /root/personal/$github_repo/
overwrite: true