build: fine-tuning CI
This commit is contained in:
5
.github/workflows/docs.yaml
vendored
5
.github/workflows/docs.yaml
vendored
@@ -13,12 +13,11 @@ on:
|
||||
|
||||
run-name: Publishing docs for ${{ inputs.version }}
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
4
.github/workflows/edge.yaml
vendored
4
.github/workflows/edge.yaml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }} || github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[skip ci]')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
contents: write
|
||||
packages: write
|
||||
steps:
|
||||
- name: Docker metadata
|
||||
@@ -45,6 +45,8 @@ jobs:
|
||||
publish-docs:
|
||||
name: Publish edge documentation
|
||||
needs: build_and_push
|
||||
permissions:
|
||||
contents: write
|
||||
uses: psyko-gh/overcrawlrr/.github/workflows/docs.yaml@master
|
||||
with:
|
||||
version: edge
|
||||
|
||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -68,6 +68,8 @@ jobs:
|
||||
|
||||
publish-docs:
|
||||
name: Publish documentation
|
||||
permissions:
|
||||
contents: write
|
||||
needs: [semantic-release, build-and-push]
|
||||
uses: ./.github/workflows/docs.yaml
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user