Configure GHA #23
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: Auto trigger on push | |
on: | |
push: | |
branches: | |
- 'master-gha-OXDEV-8356' | |
jobs: | |
changed-files: | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.changed-files.outputs.all_changed_files }} | |
steps: | |
- name: Checkout recipes | |
uses: actions/checkout@v4 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v44 | |
with: | |
files: '**/*.sh' | |
files_ignore: 'parts/**' | |
matrix: true | |
build: | |
needs: [ changed-files ] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
files: ${{ fromJSON(needs.changed-files.outputs.matrix) }} | |
steps: | |
- run: echo "${{ matrix.files }}" | |
# - name: Checkout SKD | |
# uses: actions/checkout@v4 | |
# with: | |
# repository: OXID-eSales/docker-eshop-sdk | |
# | |
# - name: Checkout recipes | |
# uses: actions/checkout@v4 | |
# with: | |
# path: recipes/oxid-esales | |
# | |
# - name: Run the recipe | |
# run: ./recipes/oxid-esales/module-template/b-7.1.x-ce-components-configuration.sh | |
# | |
# - name: Test homepage | |
# run: | | |
# sudo echo "127.0.0.1 localhost.local" | sudo tee -a /etc/hosts | |
# curl -s -N http://localhost.local | grep -q '<div>OXID Online Shop - Alles rund um das Thema Wassersport, Sportbekleidung und Mode </div>' | |
# test ! -f source/source/oxideshop.log |