-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #213 from koriym/pcd
Add PHP class diagram
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: PHP Class Diagram | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pcd: | ||
runs-on: ubuntu-latest | ||
name: PHP Class Diagram | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Create output directory | ||
run: mkdir -p images | ||
|
||
- name: Create class diagram | ||
id: create-class-diagram | ||
uses: smeghead/php-class-diagram-gh-action@v0 | ||
with: | ||
target-path: src | ||
output-path: ./images/php-class-diagram.svg | ||
target-repo: ${{ github.repository }} | ||
target-branch: ${{ github.ref_name }} | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Class_Diagram | ||
path: ./images/php-class-diagram.svg | ||
retention-days: 5 | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./images | ||
destination_dir: ./images | ||
force_orphan: true |
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,4 @@ | ||
# PHP Class Diagram | ||
|
||
<a href="https://ray-di.github.io/Ray.Aop/images/php-class-diagram.svg"><img src="https://ray-di.github.io/Ray.Aop/images/php-class-diagram.svg" alt="php class diagram"> | ||
|