Skip to content

fix file release

fix file release #10

Workflow file for this run

name: scp files
on:
push:
tags:
- "release*"
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
github_repo: ${{ 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/$(basename ${{env.github_repo}})/
overwrite: true