mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
revert javadoc publishing behavior
This commit is contained in:
parent
5929b811ec
commit
7e2eb9c67b
2
.github/javadoc-publish-clear
vendored
2
.github/javadoc-publish-clear
vendored
@ -1,3 +1,3 @@
|
|||||||
minestom-ce/**/*
|
**/*
|
||||||
!.git
|
!.git
|
||||||
!CNAME
|
!CNAME
|
||||||
|
11
.github/workflows/javadoc.yml
vendored
11
.github/workflows/javadoc.yml
vendored
@ -2,7 +2,7 @@ name: Build and deploy Javadoc
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -20,12 +20,11 @@ jobs:
|
|||||||
- name: Build javadoc
|
- name: Build javadoc
|
||||||
run: ./gradlew javadoc
|
run: ./gradlew javadoc
|
||||||
|
|
||||||
- name: Deploy javadocs
|
- name: Deploy javadoc to its assigned branch
|
||||||
uses: s0/git-publish-subdir-action@develop
|
uses: s0/git-publish-subdir-action@develop
|
||||||
env:
|
env:
|
||||||
REPO: git@github.com:hollow-cube/javadocs.git
|
REPO: self
|
||||||
BRANCH: main
|
BRANCH: javadoc
|
||||||
FOLDER: build/docs/javadoc
|
FOLDER: build/docs/javadoc
|
||||||
TARGET_DIR: minestom-ce
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.JAVADOC_DEPLOY_PRIVATE_KEY }}
|
|
||||||
CLEAR_GLOBS_FILE: ".github/javadoc-publish-clear"
|
CLEAR_GLOBS_FILE: ".github/javadoc-publish-clear"
|
2
.github/workflows/trigger-jitpack-build.yml
vendored
2
.github/workflows/trigger-jitpack-build.yml
vendored
@ -9,4 +9,4 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger Jitpack Build
|
- name: Trigger Jitpack Build
|
||||||
run: curl "https://jitpack.io/com/github/hollow-cube/minestom-ce/${GITHUB_SHA:0:10}/build.log"
|
run: curl "https://jitpack.io/com/github/Minestom/Minestom/${GITHUB_SHA:0:10}/build.log"
|
||||||
|
Loading…
Reference in New Issue
Block a user