Skip to content

Commit

Permalink
add file release scp copy
Browse files Browse the repository at this point in the history
  • Loading branch information
lgcarlinf committed Feb 24, 2024
1 parent e705cd3 commit 4a7bee7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: scp files
on:
push:
tags:
- "release*"

jobs:
build:
name: Build
runs-on: ubuntu-latest
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: "tests/a.txt,tests/b.txt"
target: your_server_target_folder_path

0 comments on commit 4a7bee7

Please sign in to comment.