Skip to content

Commit

Permalink
Slimline nightly build that avoids committing the nightly docs to the…
Browse files Browse the repository at this point in the history
… repo (#25)

Signed-off-by: Alexander Schwartz <[email protected]>
  • Loading branch information
ahus1 authored Jan 28, 2025
1 parent 702bc2c commit 7164298
Show file tree
Hide file tree
Showing 10,110 changed files with 20 additions and 2,200,985 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
27 changes: 20 additions & 7 deletions .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: Publishing Documentation Site

on:
schedule:
- cron: '0 4 * * *'
workflow_dispatch:
workflow_run:
# GitHub will not trigger workflows that originate from pushes with the regular GITHUB_TOKEN,
# therefore, name it here explicitly.
workflows:
- "Update nightly docs"
types:
- completed
push:
branches:
- main
Expand All @@ -26,6 +21,24 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Update nightly api-docs
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release -R keycloak/keycloak download nightly -p keycloak-api-docs-999.0.0-SNAPSHOT.zip
unzip keycloak-api-docs-999.0.0-SNAPSHOT.zip
rm keycloak-api-docs-999.0.0-SNAPSHOT.zip
mv keycloak-api-docs-999.0.0-SNAPSHOT docs-api/nightly
- name: Update nightly docs
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release -R keycloak/keycloak download nightly -p keycloak-documentation-999.0.0-SNAPSHOT.zip
unzip keycloak-documentation-999.0.0-SNAPSHOT.zip
rm keycloak-documentation-999.0.0-SNAPSHOT.zip
mv keycloak-documentation-999.0.0-SNAPSHOT docs/nightly
- name: Setup Java
uses: actions/setup-java@v3
with:
Expand Down
47 changes: 0 additions & 47 deletions .github/workflows/update-nightly-docs.yml

This file was deleted.

38 changes: 0 additions & 38 deletions docs-api/nightly/index.html

This file was deleted.

11,569 changes: 0 additions & 11,569 deletions docs-api/nightly/javadocs/allclasses-index.html

This file was deleted.

939 changes: 0 additions & 939 deletions docs-api/nightly/javadocs/allpackages-index.html

This file was deleted.

15,698 changes: 0 additions & 15,698 deletions docs-api/nightly/javadocs/constant-values.html

This file was deleted.

1,152 changes: 0 additions & 1,152 deletions docs-api/nightly/javadocs/deprecated-list.html

This file was deleted.

Loading

0 comments on commit 7164298

Please sign in to comment.