Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Feb 13, 2020
1 parent 0533cff commit f760511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ if git diff --exit-code --quiet; then
exit 0
fi

git add .
git commit -m "Automatic deploy to GitHub Pages: ${SHA}"

git push "$SSH_REPO" "$TARGET_BRANCH"
git diff
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
tags:
- rust-1.**
pull_request:

env:
TARGET_BRANCH: 'gh-pages'
Expand Down Expand Up @@ -35,6 +36,4 @@ jobs:
echo "::set-env name=TAG_NAME::$TAG"
- name: Deploy
run: |
eval "$(ssh-agent -s)"
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
bash .github/deploy.sh

0 comments on commit f760511

Please sign in to comment.