Skip to content

Commit 79a7965

Browse files
authored
ci: adjust firewalls when deploying GH Pages (#222)
1 parent 406317f commit 79a7965

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/docs-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,15 @@ jobs:
7373
steps:
7474
# Firewall rules:
7575
# -> "*.github.com": Standard interactions with GitHub
76+
# -> "api.github.com": Required for GitHub Pages deployment
7677
- name: Harden runner
7778
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
7879
with:
7980
disable-sudo: true
8081
egress-policy: block
8182
allowed-endpoints: >
8283
github.com:443
84+
api.github.com:443
8385
8486
- name: Deploy to GitHub Pages
8587
id: deployment

0 commit comments

Comments
 (0)