11 TARGET_BRANCH: 'gh-pages'
12 SHA: '${{ github.sha }}'
13 SSH_REPO: 'git@github.com:${{ github.repository }}.git'
17 runs-on: ubuntu-latest
18 if: github.repository == 'rust-lang/rust-clippy'
23 uses: actions/checkout@v2.0.0
26 uses: actions/checkout@v2.0.0
28 ref: ${{ env.TARGET_BRANCH }}
33 if: startswith(github.ref, 'refs/tags/')
35 TAG=$(basename ${{ github.ref }})
36 echo "::set-env name=TAG_NAME::$TAG"
39 eval "$(ssh-agent -s)"
40 ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
41 bash .github/deploy.sh