Skip to content

Commit

Permalink
Don't deploy docs on external repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehenry committed Jun 12, 2024
1 parent 69b6b46 commit 61666ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
touch docs/django-dsfr/.nojekyll
- name: 🚀 Deploy Github Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
if: github.repository == 'numerique-gouv/django-dsfr' && secrets.GITHUB_TOKEN != '' && github.ref == 'refs/heads/main'
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # <- Branche sur laquelle seront commités les fichiers
Expand Down

0 comments on commit 61666ca

Please sign in to comment.