Skip to content

Conversation

Copy link

Copilot AI commented Jan 20, 2026

Replaces Travis CI configuration with GitHub Actions workflow while maintaining compatibility with existing build scripts and deployment infrastructure.

Changes

  • .github/workflows/ci-cd.yml: New workflow that mirrors Travis pipeline (Node.js 4.1, Docker, AWS ECR, deployment)
  • Environment variables: Maps GitHub Actions context to TRAVIS_* variables to avoid modifying existing Makefile and deploy.sh
  • Permissions: Explicit contents: read and id-token: write for GITHUB_TOKEN
  • README.md: Updated build badge to reference GitHub Actions
  • Removed: .travis.yml

Configuration Required

AWS credentials must be configured in repository secrets for the workflow to authenticate with ECR and CloudFormation.

Workflow Structure

on: [push, pull_request]
jobs:
  build-and-deploy:
    steps:
      - Setup Node.js 4.1 & Docker
      - Configure AWS & ECR login
      - make all-the-dockers    # builds, tests, creates Docker image
      - make docker-tag         # tags based on branch/PR
      - make docker-push        # pushes to ECR
      - ./scripts/deploy.sh     # CloudFormation deployment

Branch/PR logic in deploy.sh determines target environment (production/sys/int) based on TRAVIS_BRANCH and TRAVIS_PULL_REQUEST variables.

Original prompt

Migrate the travis jobs to github workflows. Do not discuss secrets


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits January 20, 2026 23:29
Co-authored-by: kylegordon <231528+kylegordon@users.noreply.github.com>
Co-authored-by: kylegordon <231528+kylegordon@users.noreply.github.com>
Co-authored-by: kylegordon <231528+kylegordon@users.noreply.github.com>
Co-authored-by: kylegordon <231528+kylegordon@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate Travis jobs to GitHub workflows Migrate CI/CD from Travis CI to GitHub Actions Jan 20, 2026
Copilot AI requested a review from kylegordon January 20, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants