Skip to content

Adaptive-Edge/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive-Edge Organization Workflows

This repository contains shared GitHub Actions workflows and templates for all Adaptive-Edge organization repositories.

What's Included

Workflow Templates

Located in workflow-templates/:

  • deploy-digitalocean.yml - Automated deployment to DigitalOcean droplet via SSH
  • claude-code-action.yml - Enables @claude mentions in PRs and issues

Reusable Workflows

Located in .github/workflows/:

  • deploy-reusable.yml - Centralized deployment workflow with customizable inputs

Using Workflow Templates

When creating a new workflow in any org repo:

  1. Go to the Actions tab
  2. Click "New workflow"
  3. Organization templates will appear at the top
  4. Click "Configure" on the desired template
  5. Commit the file

Using Reusable Workflows

Add this to .github/workflows/deploy.yml in your repo:

name: Deploy

on:
  push:
    branches: [ main ]

jobs:
  deploy:
    uses: Adaptive-Edge/.github/.github/workflows/deploy-reusable.yml@main
    secrets: inherit

Required Secrets

These should be set at the organization level:

  • ANTHROPIC_API_KEY - Your Anthropic API key
  • DROPLET_SSH_KEY - Your DigitalOcean SSH private key
  • DROPLET_USER - Usually root or your username
  • DROPLET_IP - Your droplet's IP address

Initial Droplet Setup (Per Project)

For each new project, set up the directory on your droplet:

ssh root@your-droplet-ip
mkdir -p /var/www/your-project-name
cd /var/www/your-project-name
git clone git@github.com:Adaptive-Edge/your-project-name.git .
npm install --production

Make sure your droplet has a GitHub deploy key configured.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors