Skip to content

Commit

Permalink
Revert "Arrrgh ssh"
Browse files Browse the repository at this point in the history
This reverts commit bdc35bb.
  • Loading branch information
bixel committed Jun 16, 2024
1 parent bdc35bb commit 299b856
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
ruby-version: 3.3
bundler-cache: true
- run: bundle install
- run: >
- run:
bundle exec htmlproofer
--ignore-status-codes 429
$GITHUB_WORKSPACE/index.html
Expand All @@ -31,6 +31,9 @@ jobs:
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
mkdir -p ~/.ssh && touch ~/.ssh/known_hosts
ssh-keyscan ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts
rsync -rq --links --delete --exclude=".*" \
--exclude="Gemfile*" --exclude="deploy_key*" \
. ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}
- env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: >
rsync -rq --links --delete --exclude=".*"
--exclude="Gemfile*" --exclude="deploy_key*"
. "${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}"

0 comments on commit 299b856

Please sign in to comment.