https://github.com/saundefined/php-actions
https://github.com/saundefined/php-actions
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/saundefined/php-actions
- Owner: saundefined
- Created: 2021-10-28T20:48:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-02T11:05:55.000Z (over 4 years ago)
- Last Synced: 2025-02-09T14:27:17.134Z (over 1 year ago)
- Language: PHP
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# PHP Actions

[](https://codecov.io/gh/saundefined/php-actions)
Package with console commands for PHP team.
## Commands
### Deploy documentation build to Netlify (``documentation:deploy``)
| Parameter | Required | Type | Description |
|-----------|----------|------|-------------|
| file | yes | string | path to documentation build file |
| netlify-site | yes | string | Netlify site url |
| netlify-token | yes | string | Netlify access token |
| repository | yes | string | GitHub org/repository |
| issue | yes | int | GitHub Issue/PR number |
| github-token | yes | string | GitHub access token |
| commit | yes | string | Related commit hash |
#### Example
```bash
./bin/action documentation:deploy \
--file='output/php-chunked-xhtml.zip' \
--netlify-site=php-doc-en.netlify.app \
--netlify-token=my-secret-token \
--repository="php/doc-en" \
--issue=1 \
--github-token=my-secret-token \
--commit=0bbcee7822ad480c99e13ce28a72a0e97fe68c05
```