Skip to content

Commit effc5b4

Browse files
authored
Merge pull request #147 from gdsfactory/chore/sync-pages-template
chore: sync pages.yml + dependabot from upstream template
2 parents 53dd3b3 + 0a3f80f commit effc5b4

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ updates:
88
interval: monthly
99
ignore:
1010
- dependency-name: "doplaydo/*"
11+
- dependency-name: "jupyter-book"
1112

1213
- package-ecosystem: github-actions
1314
cooldown:
@@ -17,3 +18,7 @@ updates:
1718
interval: monthly
1819
ignore:
1920
- dependency-name: "doplaydo/*"
21+
# actions/deploy-pages is pinned in templates/.github/workflows/pages.yml
22+
# and kept in sync by check_template_drift.py. Bumping it here causes drift
23+
# churn — upgrades are owned by the pdk-ci-workflow repo.
24+
- dependency-name: "actions/deploy-pages"

.github/workflows/pages.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,17 @@ jobs:
99
docs:
1010
uses: doplaydo/pdk-ci-workflow/.github/workflows/pages.yml@main
1111
secrets: inherit
12+
deploy-docs:
13+
needs: docs
14+
if: ${{ github.ref == 'refs/heads/main' }}
15+
permissions:
16+
pages: write
17+
id-token: write
18+
environment:
19+
name: github-pages
20+
url: ${{ steps.deployment.outputs.page_url }}
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Deploy to GitHub Pages
24+
id: deployment
25+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

0 commit comments

Comments
 (0)