Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jan 3, 2025
1 parent a3ca218 commit 0f41cec
Show file tree
Hide file tree
Showing 5 changed files with 2,493 additions and 851 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-api-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
schedule:
- cron: '0 7 * * *'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'

- name: Install dependencies
run: composer install

- name: Build API docs
run: php vendor/bin/phpdoc -d src -t docs/api

- name: Commit and push changes
run: |
git config --local user.email "
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ npm-debug.log
yarn-error.log
/.fleet
/.idea
/.scribe
/.vscode
/public/docs
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,21 @@
],
"repositories": {
"cachet-core": {
"type": "vcs",
"url": "[email protected]:cachethq/core.git"
"type": "path",
"url": "../cachet-core"
}
},
"require": {
"php": "^8.2",
"cachethq/core": "dev-main",
"cachethq/core": "*",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^11.2",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9"
},
"require-dev": {
"fakerphp/faker": "^1.23",
"knuckleswtf/scribe": "^4.38",
"laravel/pail": "^1.1",
"laravel/pint": "^1.13",
"laravel/sail": "^1.26",
Expand Down
Loading

0 comments on commit 0f41cec

Please sign in to comment.