Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lzw-723/cloud-project-deployer-action
A GitHub action to deploy ByteInspire hosting
https://github.com/lzw-723/cloud-project-deployer-action
Last synced: 5 days ago
JSON representation
A GitHub action to deploy ByteInspire hosting
- Host: GitHub
- URL: https://github.com/lzw-723/cloud-project-deployer-action
- Owner: lzw-723
- License: mit
- Created: 2021-11-27T15:55:19.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T21:22:04.000Z (over 1 year ago)
- Last Synced: 2024-10-31T10:45:31.433Z (20 days ago)
- Homepage:
- Size: 3.35 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ByteInspire Cloud Project GitHub Action
[![Build Status](https://github.com/byteinspire/cloud-project-deployer-action/actions/workflows/test.yml/badge.svg)](https://github.com/byteinspire/cloud-project-deployer-action/actions)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)Use this GitHub Action to deploy ByteInspire cloud project.
## Usage
Add a workflow (.github/workflows/deploy.yml):
```yml
name: Deploy Cloud Projecton: push
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Add any build steps here. For example:
# - run: npm ci && npm run build
- uses: byteinspire/cloud-project-deployer-action@v1
with:
service-id: '${{ secrets.SERVICE_ID }}'
token: '${{ secrets.ACCESS_TOKEN }}'
# Or you can use file param to directly specify the ziped file path
directory: your-directory-path
```## Inputs
| Parameter | Required | Description |
| ---------- | -------- | ------------------------------------------------------------------------------------- |
| service-id | Yes | The Service ID in ByteInspire |
| token | Yes | The [access token or oauth token](https://qingfuwu.cn/dashboard/settings/pat) in ByteInspire, make sure the token has cloud project scope |
| directory | No | The location of your directory relative to the root of your repository |
| file | No | The location of your ziped file relative to the root of your repository |
| changelog | No | Deployment changelog |## Outputs
| Parameter | Description |
| ----------- | ------------------------------ |
| version | The version deployed this time |
| cloud-project-url | The default cloud project url |## License
MIT