Skip to content

Commit cd628fe

Browse files
committed
Update for docs-build branch
1 parent ee4df64 commit cd628fe

File tree

6 files changed

+22
-110
lines changed

6 files changed

+22
-110
lines changed

.github/actions/algolia-config.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/actions/algolia-deploy.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/actions/algolia-docsearch-scraper.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/algolia-index.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/deploy-docs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy Docs
2+
on:
3+
repository_dispatch:
4+
types: request-build-reference # legacy
5+
schedule:
6+
- cron: '0 10 * * *' # Once per day at 10am UTC
7+
workflow_dispatch:
8+
permissions: read-all
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
if: github.repository_owner == 'spring-projects'
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
with:
17+
ref: docs-build
18+
fetch-depth: 1
19+
- name: Dispatch
20+
run: gh workflow run --ref $(git rev-parse --abbrev-ref HEAD) deploy-docs.yml
21+
env:
22+
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

.github/workflows/deploy-reference.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)