π OpenHands: AI-Driven Development
feat: skip deploy-decs in folk repos. (#1703)
Xia Zhenhua5244a34a1d77
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.ymlindex 160b3b4084..939e72bcb1 100644--- a/.github/workflows/deploy-docs.yml+++ b/.github/workflows/deploy-docs.yml@@ -12,6 +12,7 @@ jobs:build:name: Build Docusaurusruns-on: ubuntu-latest+ if: github.repository == 'OpenDevin/OpenDevin'steps:- uses: actions/checkout@v4with:@@ -42,7 +43,7 @@ jobs:deploy:name: Deploy to GitHub Pagesneeds: build- if: github.ref == 'refs/heads/main'+ if: github.ref == 'refs/heads/main' && github.repository == 'OpenDevin/OpenDevin'# Grant GITHUB_TOKEN the permissions required to make a Pages deploymentpermissions:pages: write # to deploy to Pages