File tree Expand file tree Collapse file tree 2 files changed +19
-12
lines changed
Expand file tree Collapse file tree 2 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,14 @@ jobs:
6363 ${{env.AWSL_SRC_ZIP}}
6464 ${{env.AWSL_LAYER_ZIP}}
6565
66- - name : dispatch "infrastructure-lambda-api"
67- uses : peter-evans/repository-dispatch@v1
68- with :
69- token : ${{ env.GITHUB_PUSH_TOKEN }}
70- repository : interscript/infrastructure-lambda-api
71- event-type : ${{ github.repository }}
72- client-payload : >-
73- {
74- "workflow": "on-api-release.yml",
75- "api_tag_name": "${{env.RELEASE_TAG_NAME}}"
76- }
66+ # - name: dispatch "infrastructure-lambda-api"
67+ # uses: peter-evans/repository-dispatch@v1
68+ # with:
69+ # token: ${{ env.GITHUB_PUSH_TOKEN }}
70+ # repository: interscript/infrastructure-lambda-api
71+ # event-type: ${{ github.repository }}
72+ # client-payload: >-
73+ # {
74+ # "workflow": "on-api-release.yml",
75+ # "api_tag_name": "${{env.RELEASE_TAG_NAME}}"
76+ # }
Original file line number Diff line number Diff line change 44
55def handler ( event :, context : { } )
66 puts 123
7- puts event
7+ puts ENV [ "RABADA_DATA" ]
8+ puts File . directory? ( ENV [ "RABADA_DATA" ] )
9+ File . open ( "#{ ENV [ "RABADA_DATA" ] } /log.txt" , "w" ) { |f | f . write "#{ Time . now } - User logged in\n " }
10+ file = File . open ( "#{ ENV [ "RABADA_DATA" ] } /log.txt" )
11+ file_data = file . read
12+ puts file_data
13+ file . close
14+ puts ENV
815
916 cors_origin = ENV [ "DEFAULT_ORIGIN" ]
1017 input_origin = event . fetch ( 'headers' , { } ) . fetch ( 'origin' , "" )
You can’t perform that action at this time.
0 commit comments