Skip to content

Commit

Permalink
[README.md] Update shields (and remove old removed dependency checker…
Browse files Browse the repository at this point in the history
…) ; reflect current repo license ; [.github/workflows/main.yml] Reduce generated README ; switch from `ng deploy` to `npx angular-cli-ghpages`
  • Loading branch information
SamuelMarks committed Jan 9, 2024
1 parent 26a3102 commit 337731a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
ng add --skip-confirmation angular-cli-ghpages
npm ci
ng build --configuration production
head -n7 README.md > 'dist/offscale-www/README.md'
head -n6 README.md > 'dist/offscale-www/README.md'
MSG="$(git show -s --format='%s' "$GITHUB_SHA")"
email_author="$(git log -1 --pretty=format:'%an <%ce>')"
author="${email_author% *}"
git config --global user.name "$author"
email="${email_author#*<}"; email="${email::-1}"
git config --global user.email "$email"
ng deploy offscale-www --cname='offscale.io' --repo='https://'"$GITHUB_TOKEN"'@github.com/offscale/offscale.github.io' --branch='master' --message="$MSG" --name="$name" --email="$email" --no-silent
npx angular-cli-ghpages --dir='dist/offscale-www' --cname='offscale.io' --repo='https://'"$GITHUB_TOKEN"'@github.com/offscale/offscale.github.io' --branch='master' --message="$MSG" --name="$name" --email="$email" --no-silent
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
offscale.io
===========
[![License](https://img.shields.io/badge/license-Apache--2.0%20OR%20MIT-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![David dependency status for latest release](https://david-dm.org/offscale/www.svg)
![GitHub Pages](https://github.com/offscale/www/workflows/GitHub%20Pages/badge.svg)
[![License](https://img.shields.io/badge/license-Apache--2.0%20OR%20MIT%20OR%20CC0--1.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GitHub Pages](https://github.com/offscale/offscale-www/actions/workflows/main.yml/badge.svg)](https://github.com/offscale/offscale-www/actions/workflows/main.yml)

Branding, contact, and information SPA.

Expand Down

0 comments on commit 337731a

Please sign in to comment.