mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-30 21:17:53 +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
|
||||
!CNAME
|
||||
|
39
.github/workflows/javadoc.yml
vendored
39
.github/workflows/javadoc.yml
vendored
@ -2,7 +2,7 @@ name: Build and deploy Javadoc
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -10,22 +10,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 17
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build javadoc
|
||||
run: ./gradlew javadoc
|
||||
|
||||
- name: Deploy javadocs
|
||||
uses: s0/git-publish-subdir-action@develop
|
||||
env:
|
||||
REPO: git@github.com:hollow-cube/javadocs.git
|
||||
BRANCH: main
|
||||
FOLDER: build/docs/javadoc
|
||||
TARGET_DIR: minestom-ce
|
||||
SSH_PRIVATE_KEY: ${{ secrets.JAVADOC_DEPLOY_PRIVATE_KEY }}
|
||||
CLEAR_GLOBS_FILE: ".github/javadoc-publish-clear"
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 17
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build javadoc
|
||||
run: ./gradlew javadoc
|
||||
|
||||
- name: Deploy javadoc to its assigned branch
|
||||
uses: s0/git-publish-subdir-action@develop
|
||||
env:
|
||||
REPO: self
|
||||
BRANCH: javadoc
|
||||
FOLDER: build/docs/javadoc
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
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
|
||||
steps:
|
||||
- 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