Add index file at root #133
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build release | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build artifact | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build JS dependencies | |
uses: PrestaShopCorp/github-action-build-js/[email protected] | |
with: | |
cmd: npm | |
path: ./_dev | |
- name: Install dependencies | |
run: composer install --no-dev | |
- name: Clean-up project | |
uses: PrestaShopCorp/[email protected] | |
- name: Prepare auto-index tool | |
run: composer global require prestashop/autoindex | |
- name: Generate index.php | |
run: ~/.composer/vendor/bin/autoindex | |
- name: Create and upload artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: ${{ github.event.repository.name }} | |
path: ../ | |