Skip to content

Disable broken links #23

Disable broken links

Disable broken links #23

Workflow file for this run

name: deploy
on:
push:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true
- run: bundle install
- run: bundle exec htmlproofer $GITHUB_WORKSPACE/index.html
- run: which rsync
deploy:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v2
- run: |
echo $SSH_PRIVATE_KEY > id_rsa
$(eval ssh-agent)
ssh-add id_rsa
rm id_rsa
- run: >
rsync -rq --links --delete --exclude=".*"
--exclude="Gemfile*" --exclude="deploy_key*"
. ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}