An open API service indexing awesome lists of open source software.

https://github.com/born05/digital-ocean-deployment-action


https://github.com/born05/digital-ocean-deployment-action

Last synced: 10 months ago
JSON representation

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

```