-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,7 @@ jobs: | |
name: Monorepo Split of ${{ matrix.package }} | ||
uses: "symplify/[email protected]" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
with: | ||
package_directory: 'plugins/${{ matrix.package.local_path }}' | ||
repository_organization: 'baserproject' | ||
|
@@ -81,7 +81,7 @@ jobs: | |
name: Monorepo Tagged Split of ${{ matrix.package }} | ||
uses: "symplify/[email protected]" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
with: | ||
tag: ${GITHUB_REF#refs/tags/} | ||
package_directory: 'plugins/${{ matrix.package.local_path }}' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,23 @@ jobs: | |
run: | | ||
cd docker | ||
docker exec bc5-php composer run-script test | ||
- name: PhpDocumentor | ||
run: | | ||
cd docker | ||
docker exec bc5-php wget https://phpdoc.org/phpDocumentor.phar | ||
docker exec bc5-php php phpDocumentor.phar | ||
- name: Deploy to Github Pages | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: | | ||
git config --global user.name 'ryuring' | ||
git config --global user.email '[email protected]' | ||
git clone https://ryuring:${TOKEN}@github.com/baserproject/baserproject.github.io.git | ||
cd baserproject.github.io | ||
cp -pr ../reference ./5/plugin/ | ||
git add -A | ||
git commit -m "[actions] update baserCMS Api Reference" | ||
git push origin master | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<phpdocumentor | ||
configVersion="3" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://www.phpdoc.org" | ||
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/phpDocumentor/phpDocumentor/master/data/xsd/phpdoc.xsd" | ||
> | ||
<paths> | ||
<output>reference</output> | ||
</paths> | ||
<version number="latest"> | ||
<api> | ||
<source dsn="."> | ||
<path>plugins/baser-core/src</path> | ||
<path>plugins/bc-admin-third/src</path> | ||
<path>plugins/bc-blog/src</path> | ||
<path>plugins/bc-content-link/src</path> | ||
<path>plugins/bc-custom-content/src</path> | ||
<path>plugins/bc-editor-template/src</path> | ||
<path>plugins/bc-favorite/src</path> | ||
<path>plugins/bc-front/src</path> | ||
<path>plugins/bc-installer/src</path> | ||
<path>plugins/bc-mail/src</path> | ||
<path>plugins/bc-search-index/src</path> | ||
<path>plugins/bc-theme-config/src</path> | ||
<path>plugins/bc-theme-file/src</path> | ||
<path>plugins/bc-uploader/src</path> | ||
<path>plugins/bc-widget-area/src</path> | ||
</source> | ||
</api> | ||
</version> | ||
</phpdocumentor> |