mirror of
https://github.com/spring-cloud/spring-cloud-netflix.git
synced 2026-09-17 15:49:00 +00:00
Retarget workflow triggers to 5.0.x [skip actions]
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
# there and re-run the rollout, otherwise your change will be overwritten.
|
||||
|
||||
name: Deploy Docs
|
||||
|
||||
on:
|
||||
push:
|
||||
# Allow-list of exactly this branch. A topic or Dependabot branch cut from
|
||||
@@ -13,16 +12,14 @@ on:
|
||||
# those would dispatch a full docs build for a ref that is not in the
|
||||
# Antora playbook.
|
||||
branches:
|
||||
- main
|
||||
- 5.0.x
|
||||
tags: '**'
|
||||
repository_dispatch:
|
||||
types: request-build-reference # legacy
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read # required to check out private commercial repositories
|
||||
actions: write # required to dispatch the docs build
|
||||
|
||||
contents: read # required to check out private commercial repositories
|
||||
actions: write # required to dispatch the docs build
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -32,7 +29,6 @@ jobs:
|
||||
with:
|
||||
ref: docs-build
|
||||
fetch-depth: 1
|
||||
|
||||
# A branch push rebuilds just that branch's docs; a tag push rebuilds
|
||||
# everything so the new version appears in the version dropdown.
|
||||
- name: Dispatch (partial build)
|
||||
@@ -40,7 +36,6 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}
|
||||
|
||||
- name: Dispatch (full build)
|
||||
if: github.ref_type == 'tag'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user