Skip to content

Commit 9325167

Browse files
committed
wip: remove old CI
1 parent 84b1af2 commit 9325167

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.github/workflows/application-js-cloudflare-feature.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,25 @@ jobs:
4141
feature-debug:
4242
name: "Feature / Debug"
4343
runs-on: ubuntu-latest
44+
env:
45+
DEPLOY_SECRETS: ${{ secrets.DEPLOY_SECRETS }}
4446
steps:
4547
- name: Debug Something
4648
run: |
47-
echo VAR1: "${{ inputs.VAR1 }}"
48-
printf 'VAR1: ${{ inputs.VAR1 }}\n'
49-
50-
echo ANOTHERTHING: "${{secrets.ANOTHERTHING}}"
51-
52-
echo DEPLOY_SECRETS: "${{ secrets.DEPLOY_SECRETS }}"
53-
while IFS='=' read -r key json_value; do
54-
value="$(jq -Rs '.' <<< "$json_value")"
55-
echo "$key"
56-
echo "$value"
57-
done <<< '${{ secrets.DEPLOY_SECRETS }}'
49+
delimiter="EOF-$(date +%s%N)"
50+
while IFS= read -r line; do
51+
key="$(echo "$line" | cut -d'=' -f1)"
52+
json_value="$(echo "$line" | cut -d'=' -f2-)"
53+
value="$(jq -r '.' <<< "$json_value")"
54+
printf "$key<<$delimiter\n" >> $GITHUB_ENV
55+
printf "$value\n" >> $GITHUB_ENV
56+
printf "$delimiter\n" >> $GITHUB_ENV
57+
done <<< "$DEPLOY_SECRETS"
58+
- name: Next Part
59+
run: |
60+
echo $SECRET1
61+
echo $SECRET2
62+
echo $SECRET3
5863
5964
# # Lint the code
6065
# feature-lint:

0 commit comments

Comments
 (0)