Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lizheming/deta-action
GitHub Action to deploy current repo to Deta Space
https://github.com/lizheming/deta-action
action cicd deployment deta deta-space github-actions
Last synced: about 1 month ago
JSON representation
GitHub Action to deploy current repo to Deta Space
- Host: GitHub
- URL: https://github.com/lizheming/deta-action
- Owner: lizheming
- Created: 2023-04-08T10:12:50.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-17T02:50:47.000Z (9 months ago)
- Last Synced: 2024-09-15T01:55:17.734Z (2 months ago)
- Topics: action, cicd, deployment, deta, deta-space, github-actions
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-deta - Deploy Action by @lizheming - GitHub Action to deploy current repo to Deta Space (Misc's / Github Action)
README
![](assets/deta.svg)
# Deta Space Action[GitHub Action](https://github.com/features/actions) to deploy current repo to [Deta Space](https://deta.space).
## Input variablesSee [action.yml](action.yml) for more detailed information.
- `access_token`: Deta access token. [How to get Deta access token?](https://deta.space/docs/en/basics/cli#authentication)
- `id`: project id of an existing project
- `tag`: tag to identify this push
- `dir`: src of project to push (default "./")
- `listed`: listed on discovery
- `notes`: release notes
- `version`: version for the release
- `release`: set `false` if you want disable release action## Usage
```yml
# .github/workflows/deploy.yml
name: deploy to deta spaceon:
push:
branches:
- mainjobs:
deploy:
name: deploy to deta space
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2- name: Deploy
uses: lizheming/deta-action@master
with:
access_token: ${{ secrets.space_access_token }}
id: ${{ secrets.space_id }}
version: "1.0.0"
notes: "Release automatically with GitHub deta action"
listed: true
```