mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-15 08:14:04 +02:00
Remove temporary feature branch deployment settings
Revert to main-only deployment for docs workflow before merging.
This commit is contained in:
parent
f557db37cb
commit
c568694837
1 changed files with 2 additions and 4 deletions
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
|
|
@ -2,8 +2,7 @@ name: Documentation
|
|||
|
||||
on:
|
||||
push:
|
||||
# TODO: Remove feat/documentation-site before merging
|
||||
branches: [main, feat/documentation-site]
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'README.md'
|
||||
|
|
@ -93,8 +92,7 @@ jobs:
|
|||
path: ./site
|
||||
|
||||
deploy:
|
||||
# TODO: Change back to main only before merging
|
||||
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feat/documentation-site') && github.event_name != 'pull_request'
|
||||
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue