https://github.com/born05/digital-ocean-deployment-action
https://github.com/born05/digital-ocean-deployment-action
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/born05/digital-ocean-deployment-action
- Owner: born05
- Created: 2024-04-04T12:58:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-10T14:17:09.000Z (over 1 year ago)
- Last Synced: 2025-02-10T15:26:07.537Z (over 1 year ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Digital Ocean Deployment Action
## Usage
create a yaml file in the `.github/workflows` folder als paste the following in it:
```yml
name: Deploy app to DigitalOcean
run-name: Deploy ${{ github.ref_type == 'tag' && github.ref_name || 'latest' }} to ${{ github.ref_type == 'tag' && 'production' || 'acceptance' }}
on:
push:
branches: [main]
tags: ["*"]
jobs:
ext:
uses: born05/digital-ocean-deployment-action/.github/workflows/deploy-to-do.yml@main
secrets: inherit
with:
node-version: 21.x
cms: true
```