11 TARGET_BRANCH: 'gh-pages'
12 SHA: '${{ github.sha }}'
13 SSH_REPO: 'git@github.com:${{ github.repository }}.git'
17 runs-on: ubuntu-latest
22 uses: actions/checkout@v2.0.0
25 uses: actions/checkout@v2.0.0
27 ref: ${{ env.TARGET_BRANCH }}
32 if: startswith(github.ref, 'refs/tags/')
34 TAG=$(basename ${{ github.ref }})
35 echo "::set-env name=TAG_NAME::$TAG"
38 eval "$(ssh-agent -s)"
39 ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
40 bash .github/deploy.sh