Skip to content

Commit

Permalink
ci: 🐛 attempt to fix invalid workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jojobyte committed Oct 3, 2023
1 parent 9200f4e commit 6e00239
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ jobs:
run: ssh-keyscan -H ${{ secrets.SSH_HOSTNAME }} >> ~/.ssh/known_hosts
- name: Deploy with rsync
env:
GHREF: ${{ GITHUB_REF_NAME }}
RMFEAT: "feat/"
run: |
BRANCH=${GHREF//$RMFEAT/}
BRANCH=${GITHUB_REF_NAME//$RMFEAT/}
rsync -avhPz ./dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOSTNAME }}:~/branch/${BRANCH}

0 comments on commit 6e00239

Please sign in to comment.