mirror of https://github.com/Minestom/Minestom.git
revert javadoc publishing behavior
This commit is contained in:
parent
5929b811ec
commit
7e2eb9c67b
|
@ -1,3 +1,3 @@
|
||||||
minestom-ce/**/*
|
**/*
|
||||||
!.git
|
!.git
|
||||||
!CNAME
|
!CNAME
|
||||||
|
|
|
@ -2,7 +2,7 @@ name: Build and deploy Javadoc
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -10,22 +10,21 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- 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"
|
|
|
@ -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