diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 828de76..6f85ef9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/README.md b/README.md index 1d9bcc8..2cb3896 100644 --- a/README.md +++ b/README.md @@ -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.