How to Deploy Static Sites from GitHub Actions
Static.app API Keys are secure, personal tokens that are essential for automating the deployment of your static sites and built applications directly from external services, such as GitHub Actions. By using an API key, you can enable continuous integration and continuous deployment (CI/CD) pipelines securely without exposing your main account credentials.
See on GitHub Marketplace: https://github.com/marketplace/actions/static-app-deploy
Getting Started: Secure Setup
To begin deploying your projects automatically from GitHub, you must first secure your connection using the official designmodo/static-app-deploy-action
. This requires two critical setup steps.
Step 1: Get Your Static.app API Key
The API key serves as the secure token required to authorize the deployment action.
- Go to the Static.app dashboard.
- Sign in to your account.
- Navigate to Account, then look for API Keys.
- Select the Create API Key button.
- Set a Name and Expiration.
- Copy the generated key (it will start with
sk_
).

Step 2: Add API Key to GitHub Secrets
To keep your API key secure and out of your public workflow files, you must store it as a GitHub secret.
- Go to your GitHub repository.
- Navigate to Settings → Secrets and variables → Actions.
- Click New repository secret.
- Set the Name to:
STATIC_APP_API_KEY
- Set the Secret to: Your API key copied from Static.app.
- Click Add secret.

For comprehensive usage examples, specific workflow configuration, and a complete list of deployment inputs, please refer to our detailed guide on Static.app Deploy Action.