Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Update dependency angular-cli-ghpages to v0.6.2 #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 8, 2020

This PR contains the following updates:

Package Type Update Change
angular-cli-ghpages devDependencies patch 0.6.0 -> 0.6.2

Release Notes

angular-schule/angular-cli-ghpages

v0.6.2

Compare Source

With this release, GitHub Actions becomes a first citizen alongside Travis CI and CircleCi.

Learn everything you need to know in the following article.

Banner

Everything GitHub: Continuous Integration, Deployment and Hosting for your Angular App

In this article we show several tools from the GitHub universe to launch a website with Angular. We will establish a professional pipeline, including version management, continuous deployment and web hosting. Best of all, for public repositories, this will not cost you a single cent! Read more...


tl;dr

The token GITHUB_TOKEN is now supported. When using any token (GH_TOKEN / PERSONAL_TOKEN / GITHUB_TOKEN), it is no longer necessary to specify the --repo parameter if the directory already has a remote repository. This is the case for GitHub actions. Please note that for GitHub actions git config user.name and git config user.email are not set. You still have to provide them.

ℹ️ Note

The GITHUB_TOKEN (installation access token) will only trigger a release of a new website if the action runs in a private repository. In a public repo, a commit is generated, but the site does not change. See this GitHub Community post for more info. If your repo is public, you must still use the GH_TOKEN (personal access token).

Special thanks goes out to @​shhdharmen and @​EdricChan03 who pushed this release forward! 👍

Example

A valid main.yml for GitHub Actions in a private repository could look like this:

name: Deploy to GitHub Pages via angular-cli-ghpages

on: [push]

jobs:
  build-and-deploy:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Use Node.js 10.x
      uses: actions/setup-node@v1
      with:
        node-version: 10.x

    - name: Prepare and deploy
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      run: |
        npm install
        npm run ng -- deploy --base-href=/the-repositoryname/ --name="Displayed Username" [email protected] --no-silent

A valid main.yml for GitHub Actions in a public repository could look like this:

name: Deploy to GitHub Pages via angular-cli-ghpages

on: [push]

jobs:
  build-and-deploy:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Use Node.js 10.x
      uses: actions/setup-node@v1
      with:
        node-version: 10.x

    - name: Prepare and deploy
      env:
        GH_TOKEN: ${{ secrets.GH_TOKEN }}
      run: |
        npm install
        npm run ng -- deploy --base-href=/the-repositoryname/ --name="Displayed Username" [email protected] --no-silent

Features

  • chore: extended commit message also for GitHub Actions (4925bc8, fixes #​73)
  • chore: always discover remote URL (if not set) (c5f7b36, fixes #​73, fixes #​88)
  • chore: support for PERSONAL_TOKEN & GITHUB_TOKEN env vars (1066240, fixes #​73, fixes #​88)
  • chore: adds text: "Uploading via git, please wait" (f9bcf1c, fixes #​78)

v0.6.1

Compare Source

angular-cli-ghpages-deploy2

This release has mainly improvements in error handling. It is now again possible to receive detailed logging messages using the --no-silent option. Furthermore, the deployment is aborted if the previous build fails (thanks to @​masaxsuzu).

Fixes

  • fix: monkeypatch util.debuglog() for extended console logging (08d05c9)
  • fix: use callback to retrieve error message of gh-pages (6a8a3c2, fixes #​74)
  • fix: throws an error if app building fails (e7f6a51, see PR #​85 which fixes #​74)

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency angular-cli-ghpages to v0.6.2 Update dependency angular-cli-ghpages to v0.6.2 Mar 23, 2020
@renovate renovate bot force-pushed the renovate/angular-cli-ghpages-0.x branch from 2bfee46 to 2bb3760 Compare March 23, 2020 09:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant