WPMozo: add-ons and tools for WordPress and Elementor
⚡ GitHub · Client-side · No data sent to server

GitHub Actions Generator

Build a GitHub Actions workflow YAML from a visual form. Pick triggers, OS, language version, and common steps. Copy-paste ready. Runs in your browser.

GitHub Actions Workflow Generator
Valid YAML Copied!
Workflow Name
Triggers
Every Monday at midnight UTC
Runner OS
Language / Runtime
Steps
Environment Variables
Secrets (referenced in steps)
0 lines
Configure options on the left to generate your workflow YAML...
100% private. All YAML generation happens locally in your browser - no workflow configuration or code is ever sent to any server.

About this tool

GitHub Actions is a CI/CD platform built directly into GitHub. Workflows are defined as YAML files stored in your repository under .github/workflows/. This generator lets you configure common workflow options through a visual form and outputs a ready-to-use YAML file you can drop straight into your project.

How GitHub Actions works

A workflow consists of one or more jobs, each running on a runner (a virtual machine hosted by GitHub or self-hosted). Jobs contain a sequence of steps - either shell commands or pre-built actions from the GitHub Marketplace. The workflow is triggered by events such as a push, a pull request, a manual dispatch, or a scheduled cron timer.

Choosing the right trigger

  • push - Runs on every commit pushed to the specified branch. Good for running tests continuously and catching regressions early.
  • pull_request - Runs when a PR is opened or updated against the target branch. Ideal for CI checks that gate merges.
  • workflow_dispatch - Adds a "Run workflow" button in the GitHub Actions UI and API. Use this for deployments or any process you want to trigger manually with one click.
  • schedule - Uses cron syntax to run on a timer. Handy for nightly builds, dependency audits, or scheduled reports.

Managing secrets safely

Never put passwords, API keys, or SSH private keys directly in your YAML file. Store them under Settings > Secrets and variables > Actions in your GitHub repository. Reference them in your workflow as ${{ secrets.SECRET_NAME }}. Secrets are masked in logs and are not exposed to pull requests from forks by default.

Tips for effective workflows

  • Cache your dependency directories (node_modules, pip cache, Composer vendor) to dramatically speed up subsequent runs.
  • Use workflow_dispatch together with push so you can both auto-run tests and manually trigger deployments from the same workflow file.
  • The appleboy/ssh-action is the most popular GitHub Action for SSH deployments - it connects to your server and runs a script you specify. Store your SSH private key as a secret.
  • Upload build artifacts with actions/upload-artifact so you can download them from the Actions run page or pass them to a later job using needs:.
  • Keep workflows focused: one workflow per concern (CI tests, deploy to staging, deploy to production) rather than one massive monolithic file.
DiviExtended: premium Divi child themes and plugins