Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .build_scripts/deploy.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .build_scripts/lint.sh

This file was deleted.

189 changes: 0 additions & 189 deletions .eslintrc

This file was deleted.

78 changes: 78 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Bug Report
description: Report a bug or issue with the Missing Maps website
title: "[Bug]: "
labels: ["bug", "needs-triage"]
assignees: []

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report a bug! Please fill out the form below to help us understand and reproduce the issue.

- type: input
id: url
attributes:
label: Page URL
description: What page were you on when you encountered the bug?
placeholder: https://www.missingmaps.org/...
validations:
required: false

- type: textarea
id: description
attributes:
label: Bug Description
description: A clear and concise description of what the bug is
placeholder: Describe what happened and what you expected to happen
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: How can we reproduce this bug?
placeholder: |
1. Go to...
2. Click on...
3. Scroll down to...
4. See error
validations:
required: true

- type: dropdown
id: browsers
attributes:
label: Browser
description: What browser are you using?
options:
- Chrome
- Firefox
- Safari
- Edge
- Mobile Safari
- Mobile Chrome
- Other
validations:
required: false

- type: dropdown
id: device
attributes:
label: Device Type
description: What type of device are you using?
options:
- Desktop
- Mobile
- Tablet
validations:
required: false

- type: textarea
id: additional
attributes:
label: Additional Context
description: Add any other context about the problem here, including screenshots if helpful
validations:
required: false
60 changes: 60 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# GitHub Actions Workflows

This directory contains the CI/CD workflows for the Missing Maps website.

## Workflows

### 📦 `deploy.yml` - CI/CD Pipeline
- **Triggers**: Push to `main`, `master`, or `publish` branches; Pull requests
- **Purpose**: Build and deploy the site to GitHub Pages
- **Features**:
- Ruby and Node.js environment setup
- Dependency caching
- JavaScript linting
- Jekyll build with Gulp
- Automated deployment to GitHub Pages (publish branch only)

### 🧪 `test.yml` - Pull Request Tests
- **Triggers**: Pull requests to main branches
- **Purpose**: Test builds and validate changes
- **Features**:
- Build verification
- Asset generation checks
- Lint validation

### 🔒 `security.yml` - Security and Dependency Checks
- **Triggers**: Weekly schedule, dependency file changes, manual trigger
- **Purpose**: Monitor security and dependency health
- **Features**:
- NPM security audit
- Ruby security audit with bundler-audit
- Outdated dependency checks
- Code linting and formatting validation

## Dependabot Configuration

The `.github/dependabot.yml` file configures automated dependency updates:
- **NPM packages**: Weekly updates on Sundays
- **Ruby gems**: Weekly updates on Sundays
- **GitHub Actions**: Weekly updates on Sundays
- **Grouping**: Development vs production dependencies
- **Auto-assignment**: PRs assigned to maintainers

## Migration from Travis CI

This setup replaces the previous Travis CI configuration with modern GitHub Actions:
- ✅ Improved security with GitHub's built-in secrets management
- ✅ Better integration with GitHub features
- ✅ More granular control over workflows
- ✅ Built-in GitHub Pages deployment
- ✅ Automated dependency management

## Required Secrets

No additional secrets are required - GitHub Actions uses built-in `GITHUB_TOKEN` for deployment.

## Branch Strategy

- **`publish`**: Production deployment branch (auto-deploys to GitHub Pages)
- **`main`/`master`**: Development branch (tests only)
- **Feature branches**: Pull request testing only
Loading