Skip to content

Commit

Permalink
CI: don't run doc deploy for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Sep 19, 2022
1 parent 0e9c79c commit 4c49a64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
cmake --build build --target docs -j8
tar -czvf slang.tar.gz build/docs build/bin/slang
- name: Upload
if: github.event_name != 'pull_request'
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_DEPLOY_HOST }}
Expand All @@ -36,6 +37,7 @@ jobs:
source: slang.tar.gz
target: upload/
- name: Deploy
if: github.event_name != 'pull_request'
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_DEPLOY_HOST }}
Expand Down

0 comments on commit 4c49a64

Please sign in to comment.