Skip to content

Commit 85eb66f

Browse files
authored
Update pages.yml
1 parent 5975987 commit 85eb66f

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,34 +28,12 @@ jobs:
2828
sudo apt-get update
2929
sudo apt-get install -y pandoc jq curl
3030
31-
- id: ensure_license
31+
- id: ensure_license
3232
name: Ensure MIT License exists (and mark if created)
3333
run: |
3434
if [ ! -f LICENSE ]; then
3535
YEAR=$(date +%Y)
36-
cat > LICENSE <<EOF
37-
MIT License
38-
39-
Copyright (c) ${YEAR} Steph Buongiorno
40-
41-
Permission is hereby granted, free of charge, to any person obtaining a copy
42-
of this software and associated documentation files (the "Software"), to deal
43-
in the Software without restriction, including without limitation the rights
44-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
45-
copies of the Software, and to permit persons to whom the Software is
46-
furnished to do so, subject to the following conditions:
47-
48-
The above copyright notice and this permission notice shall be included in all
49-
copies or substantial portions of the Software.
50-
51-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
52-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
53-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
54-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
55-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
56-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
57-
SOFTWARE.
58-
EOF
36+
printf '%s\n' "MIT License" "" "Copyright (c) $YEAR Steph Buongiorno" "" "Permission is hereby granted, free of charge, to any person obtaining a copy" "of this software and associated documentation files (the \"Software\"), to deal" "in the Software without restriction, including without limitation the rights" "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell" "copies of the Software, and to permit persons to whom the Software is" "furnished to do so, subject to the following conditions:" "" "The above copyright notice and this permission notice shall be included in all" "copies or substantial portions of the Software." "" "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR" "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY," "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE" "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER" "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM," "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE" "SOFTWARE." > LICENSE
5937
echo "MIT License generated."
6038
echo "created=true" >> "$GITHUB_OUTPUT"
6139
else

0 commit comments

Comments
 (0)