mirror of
https://github.com/Av0idD4rk/firegex.git
synced 2026-10-23 21:42:05 +00:00
Let the Pages deploy enable Pages itself
The first run failed at configure-pages because the repository had no Pages site yet. The deploy job already holds pages: write, so it can create one instead of the setting having to be flipped by hand.
This commit is contained in:
parent
08d83e0041
commit
b95b87977b
4
.github/workflows/demo-pages.yml
vendored
4
.github/workflows/demo-pages.yml
vendored
@ -62,6 +62,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Configure Pages
|
- name: Configure Pages
|
||||||
uses: actions/configure-pages@v5
|
uses: actions/configure-pages@v5
|
||||||
|
with:
|
||||||
|
# Turns Pages on (source: GitHub Actions) the first time this runs, so the
|
||||||
|
# repository needs no manual switch flipped in Settings.
|
||||||
|
enablement: true
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
id: deployment
|
id: deployment
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user