Skip to content

Commit

Permalink
Re-add deployment branch restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobortolan committed Nov 29, 2024
1 parent 22469b8 commit 89927db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
- name: Build website
run: npm run build
working-directory: ./docs_v2

#- name: Create CNAME file
# run: echo "docs.live.rbg.tum.de" > ./docs_v2/build/CNAME

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
Expand All @@ -40,7 +37,7 @@ jobs:
deploy:
name: Deploy to GitHub Pages
needs: build
# if: github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/dev'

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
Expand Down

0 comments on commit 89927db

Please sign in to comment.