portable-php
                                
                                
                                
                                    portable-php copied to clipboard
                            
                            
                            
                        Add Github action
I tried to add a simple Github action to run portable.php from the repo:
name: RUN
on:
  push:
    branches: [ main ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - uses: nanasess/setup-php@master
      with:
        php-version: '5.6'
    - run: php ./portable.php > index.html
But it produced these errors:
Anyone with some PHP skills to point me in the right direction?
Undefined variables are now defined (don’t laugh) so the action runs, but how do I make it generate index.html?
https://github.com/cadars/portable-php/pull/5