Skip to content

Configure GHA

Configure GHA #15

Workflow file for this run

name: Auto trigger on push
on:
push:
branches:
- 'master-gha-OXDEV-8356'
jobs:
setup:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- name: Retrieve changed and added files
id: files
uses: jitterbit/get-changed-files@v1
with:
format: json
- id: matrix
run: echo '${{ steps.files.outputs.added_modified }}' >> $GITHUB_OUTPUT
- run: echo "${{ steps.matrix.outputs.value }}"
build:
needs: [ setup ]
runs-on: ubuntu-latest
strategy:
matrix:
value: ${{ fromJSON(needs.setup.outputs.matrix) }}
steps:
- run: echo "${{ matrix.value }}"
# - 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