Skip to content

thunder/apache-shiva-php-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

apache-shiva-php-action

This is a GitHub action that runs Apache with mod_php to serve a website. Use after Setup PHP in GitHub Actions.

Assumes you are using Ubuntu

Example usage

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.4'
- name: Setup Apache
  uses: thunder/apache-shiva-php-action@v1
  with:
    php-version: '7.4'
    site-directory: /path/to/code
    # Defaults to 8888
    http-port: 8080