try 4? please?
This commit is contained in:
1 parent
774a221940
commit
4fcf389824
1 file changed
+4
-3
@@ -89,10 +89,11 @@ jobs:
|
||||
- name: Publish Javadoc
|
||||
if: "${{ runner.os == 'Linux' && ((env.STATUS != 'release' && github.event_name == 'push' && startsWith(github.ref, 'refs/heads/api-')) || (env.STATUS == 'release' && github.event_name == 'release')) }}"
|
||||
run: |
|
||||
git clone git@github.com:SpongePowered/APIJavadocs.git publish-jd -b data -c core.sshCommand="$(git config --local --get core.sshCommand)"
|
||||
git clone git@github.com:SpongePowered/APIJavadocs.git publish-jd -b data -c core.sshCommand="$(git config --local --get core.sshCommand)" -c user.name=Spongie -c user.email="staff@spongepowered.org"
|
||||
cd publish-jd
|
||||
mkdir -p $PROJECT_NAME/$PROJECT_VERSION
|
||||
cp -R ../build/docs/javadoc/* $PROJECT_NAME/$PROJECT_VERSION
|
||||
DESTDIR="$PROJECT_NAME/$PROJECT_VERSION"
|
||||
mkdir -p $DESTDIR
|
||||
cp -R ../build/docs/javadoc/* $DESTDIR
|
||||
git commit -a -m "Publishing javadoc for $PROJECT_NAME $PROJECT_VERSION"
|
||||
git push origin
|
||||
cd ..
|
||||
|
||||
Reference in new issue
Block a user