Skip to content

Automate website optimization with this GitHub Actions workflow. Minify HTML, CSS, and JS files for improved performance. πŸš€

License

Notifications You must be signed in to change notification settings

pablocru/static-site-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

84 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Static Site Optimizer

Description

The static-site-optimizer is a powerful GitHub Actions workflow designed to optimize static websites. This workflow automates the process of minifying HTML, CSS, and JavaScript files, reducing their size and enhancing website loading performance.

Usage

  1. Checkout your repository files

      steps:
        - name: Checkout files
          uses: actions/checkout@<version>
  2. Call the static-site-optimizer in your own workflow.

        - name: Minify html, css and js files
          uses: pabcrudel/static-site-optimizer@<version>

    A project path could be provided. By default, the project path will be the root path.

          with:
            project_path: website
  3. The minified files will be wrapped inside the dist folder in the root path.

Contribution

Contributions to this repository are welcomed and encouraged. Whether you discover a bug, want to propose enhancements, or add new features, please feel free to open issues and submit pull requests.

Let's optimize the web together! πŸš€

About

Automate website optimization with this GitHub Actions workflow. Minify HTML, CSS, and JS files for improved performance. πŸš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages