Skip to content

Update temp.yml

Update temp.yml #34

Workflow file for this run

name: temp
on: [push,pull_request,workflow_dispatch]
jobs:
temp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
echo "{\"keywords\":[" > temp.json
cat temp | sed -E "s/(^|[^\\\\\\n])((\\\\\\\\)*) *\\#.+/\\1\\2/;$ ! s/(.+)/ {\"keyword\":\"\\1\"},/;$ s/(.+)/ {\"keyword\":\"\\1\"}/;/^ *$/d" >> temp.json
echo "]}" >> temp.json
git config --global user.name "Fabian42"
git config --global user.email "[email protected]"
git add .
git commit -m "temp"
git push