mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
ask for escalated privileges in push workflows
This commit is contained in:
parent
9344687a56
commit
17d8bbf330
3
.github/workflows/build-container.yml
vendored
3
.github/workflows/build-container.yml
vendored
@ -16,6 +16,9 @@ on:
|
||||
- 'v*.*.*'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
if: github.event.pull_request.draft == false
|
||||
|
5
.github/workflows/mkdocs-material.yml
vendored
5
.github/workflows/mkdocs-material.yml
vendored
@ -5,6 +5,9 @@ on:
|
||||
- 'main'
|
||||
- 'development'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
mkdocs-material:
|
||||
if: github.event.pull_request.draft == false
|
||||
@ -34,8 +37,6 @@ jobs:
|
||||
|
||||
- name: deploy to gh-pages
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
python -m \
|
||||
mkdocs gh-deploy \
|
||||
|
Loading…
Reference in New Issue
Block a user