Skip to content

Commit

Permalink
Add ssh key in same step
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Jan 26, 2020
1 parent de2f59e commit 3fdbffd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
with:
ref: ${{ env.TARGET_BRANCH }}
path: 'out'
- name: Add SSH key
- name: Deploy
run: |
eval "$(ssh-agent -s)"
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
- name: Deploy
run: bash .github/deploy.sh
bash .github/deploy.sh

0 comments on commit 3fdbffd

Please sign in to comment.