Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

Airdrop is a Laravel package that speeds up deployments by skipping asset compilation when possible. It calculates a hash of build inputs (packages, JS/CSS files, ENV vars, etc.) and reuses previously built assets if the configuration hasn't changed.

Full docs: https://hammerstone.dev/airdrop/docs
Full docs: https://wilbergroup.github.io/airdrop/ (built with Docsify from the `docs/` folder, served via GitHub Pages)

## Commands

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Total Downloads](https://img.shields.io/packagist/dt/aaronfrancis/airdrop)](https://packagist.org/packages/aaronfrancis/airdrop)
[![License](https://img.shields.io/packagist/l/aaronfrancis/airdrop)](https://packagist.org/packages/aaronfrancis/airdrop)

> Read the full docs at [hammerstone.dev/airdrop/docs](https://hammerstone.dev/airdrop/docs/main/overview).
> Read the full docs at [wilbergroup.github.io/airdrop](https://wilbergroup.github.io/airdrop/).

Airdrop for Laravel is a package that speeds up your deploys by skipping your asset build step whenever possible.

Expand All @@ -27,7 +27,7 @@ php artisan airdrop:install

You'll likely want to publish the config file so that you can set up your triggers and outputs.

Read the full docs at [hammerstone.dev/airdrop/docs](https://hammerstone.dev/airdrop/docs/main/overview).
Read the full docs at [wilbergroup.github.io/airdrop](https://wilbergroup.github.io/airdrop/).

## License

Expand Down
Empty file added docs/.nojekyll
Empty file.
13 changes: 13 additions & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- [Overview](overview.md)
- [Installation](installation.md)
- [Configuration](configuration.md)
- [Deploying](deploying.md)
- Triggers
- [Config Trigger](triggers/config.md)
- [File Trigger](triggers/file.md)
- [Custom](triggers/custom.md)
- Drivers
- [Filesystem](drivers/filesystem.md)
- [GitHub Actions](drivers/github.md)
- [Custom](drivers/custom.md)
- [Debugging](debugging.md)
35 changes: 35 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Airdrop for Laravel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<meta name="description" content="Airdrop for Laravel speeds up your deploys by skipping the asset build step whenever possible.">
<link rel="icon" href="public/logo.svg">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
</head>
<body>
<div id="app">Loading the docs&hellip;</div>
<script>
window.$docsify = {
name: 'Airdrop',
repo: 'https://github.com/WilberGroup/airdrop',
logo: 'public/logo.svg',
homepage: 'overview.md',
loadSidebar: true,
subMaxLevel: 2,
auto2top: true,
search: {
placeholder: 'Search the docs',
noData: 'No results found.',
depth: 3
}
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-php.min.js"></script>
<script async src="//platform.twitter.com/widgets.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ When you're deploying your code, Airdrop will calculate a hash of everything nee

After Airdrop has calculated a hash for these inputs, it will check to see if it has ever built this exact configuration before. If it has, it will pull down the built assets and put them in place, letting you skip the expensive build step.

![Flowchart](/flowchart.png){style="width: 698px"}
<img src="public/flowchart.png" alt="Flowchart" style="width: 698px; max-width: 100%;">

This can reduce the time your deploys and CI runs take from minutes down to just a few seconds:

Expand Down
2 changes: 1 addition & 1 deletion docs/triggers/custom.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Building a Custom Trigger

If the [File](/triggers/file) and [Config](triggers/config) triggers don't meet your needs, you are free to make your own.
If the [File](/triggers/file) and [Config](/triggers/config) triggers don't meet your needs, you are free to make your own.

Let's imagine we want to trigger an asset rebuild any time the week of the year changes. This will force assets to be built at least once a week, provided we deploy at least once a week.

Expand Down
Loading