Skip to content

Commit

Permalink
fix file release
Browse files Browse the repository at this point in the history
  • Loading branch information
lgcarlinf committed Feb 24, 2024
1 parent f024171 commit f37805e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ jobs:
github_repo: ${{ github.repository }}
steps:
- uses: actions/checkout@v4
- name: Set repository name
run: echo "REPOSITORY_NAME=$(echo $GITHUB_REPOSITORY | grep -o '[^/]*$')" >> $GITHUB_ENV
- name: Print repository name
run: echo "Repository Name $REPOSITORY_NAME"
- name: copy file via ssh password
uses: appleboy/scp-action@v0.1.7

with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -23,8 +28,5 @@ jobs:
source: .
target: "/root/personal/${{ env.REPOSITORY_NAME }}/"
overwrite: true
- name: Set repository name
run: echo "REPOSITORY_NAME=$(echo $GITHUB_REPOSITORY | grep -o '[^/]*$')" >> $GITHUB_ENV
- name: Print repository name
run: echo "Repository Name $REPOSITORY_NAME"


0 comments on commit f37805e

Please sign in to comment.