Skip to content

Commit

Permalink
wip: remove old CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Jan 9, 2025
1 parent 84b1af2 commit 9325167
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/application-js-cloudflare-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,25 @@ jobs:
feature-debug:
name: "Feature / Debug"
runs-on: ubuntu-latest
env:
DEPLOY_SECRETS: ${{ secrets.DEPLOY_SECRETS }}
steps:
- name: Debug Something
run: |
echo VAR1: "${{ inputs.VAR1 }}"
printf 'VAR1: ${{ inputs.VAR1 }}\n'
echo ANOTHERTHING: "${{secrets.ANOTHERTHING}}"
echo DEPLOY_SECRETS: "${{ secrets.DEPLOY_SECRETS }}"
while IFS='=' read -r key json_value; do
value="$(jq -Rs '.' <<< "$json_value")"
echo "$key"
echo "$value"
done <<< '${{ secrets.DEPLOY_SECRETS }}'
delimiter="EOF-$(date +%s%N)"
while IFS= read -r line; do
key="$(echo "$line" | cut -d'=' -f1)"
json_value="$(echo "$line" | cut -d'=' -f2-)"
value="$(jq -r '.' <<< "$json_value")"
printf "$key<<$delimiter\n" >> $GITHUB_ENV
printf "$value\n" >> $GITHUB_ENV
printf "$delimiter\n" >> $GITHUB_ENV
done <<< "$DEPLOY_SECRETS"
- name: Next Part
run: |
echo $SECRET1
echo $SECRET2
echo $SECRET3
# # Lint the code
# feature-lint:
Expand Down

0 comments on commit 9325167

Please sign in to comment.