Skip to content

add debug print for auth token #11

add debug print for auth token

add debug print for auth token #11

Workflow file for this run

name: deploy
on:
push:
branches:
- lendemor/deploy_pipeline
jobs:
setup-matrix:
runs-on: ubuntu-latest
outputs:
folders: ${{ steps.generate-matrix.outputs.folders }}
steps:
- uses: actions/checkout@v3
- name: Generate Matrix
id: generate-matrix
run: |
FOLDERS=$(ls -d */ | sed 's|/||g' | jq -R -s -c 'split("\n")[:-1]')
echo "folders=$FOLDERS" >> $GITHUB_OUTPUT
- name: Debug output (matrix)
run: |
echo "Subfolders: ${{ env.folders }}"
deploy:
needs: setup-matrix
runs-on: ubuntu-latest
strategy:
matrix:
folder: ${{fromJson(needs.setup-matrix.outputs.folders)}}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
pip install -r ${{ matrix.folder }}/requirements.txt
- name: Deploy to ReflexCloud
run: |
chmod +x deploy.sh
./deploy.sh ${{ matrix.folder }}