Update release.yml

Signed-off-by: Alpha <dev@alpha93.kr>
This commit is contained in:
Alpha
2024-11-03 00:04:58 +09:00
committed by GitHub
parent 54dfd7163a
commit 269cbb507b

View File

@@ -118,6 +118,7 @@ jobs:
- name: Update Javadoc
if: startsWith(github.ref_name, 'ver/') || startsWith(github.ref_name, 'dev/')
continue-on-error: true
run: |
if [ ! -d "javadoc" ]; then
mkdir javadoc && cd javadoc
@@ -141,6 +142,7 @@ jobs:
- name: Sync Javadocs Portal
if: startsWith(github.ref_name, 'ver/') || startsWith(github.ref_name, 'dev/')
continue-on-error: true
run: |
cd jdmain
if [ ! -d "${{ env.VERSION }}" ]; then
@@ -151,6 +153,7 @@ jobs:
- name: Push source changes (jd portal)
if: startsWith(github.ref_name, 'ver/') || startsWith(github.ref_name, 'dev/')
continue-on-error: true
uses: ad-m/github-push-action@master
with:
repository: PlazmaMC/Javadocs