Fix missing auth provider icon for google #423
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NPM Publish | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: ./app/src/api/ | |
# if: ${{ github.event.workflow_run.conclusion == 'success' && !startsWith(github.event.head_commit.message, '[RELEASE]') }} | |
if: ${{ !startsWith(github.event.head_commit.message, '[RELEASE]') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14.x' | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm ci | |
- run: git config --global user.name 'Firebolt Caster' | |
- run: git config --global user.email 'nilsbaumgartner@live.de' | |
- run: git stash | |
- run: npm run releaseCI | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
gh-pages: | |
# if: ${{ github.event.workflow_run.conclusion == 'success' && !startsWith(github.event.head_commit.message, '[RELEASE]') }} | |
if: ${{ !startsWith(github.event.head_commit.message, '[RELEASE]') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14.x' | |
registry-url: 'https://registry.npmjs.org' | |
- run: cd ./app/ && npm ci | |
- run: cd ./app/src/api/ && npm ci && cd ../../ | |
- run: git config --global user.name 'Firebolt Caster' | |
- run: git config --global user.email 'nilsbaumgartner@live.de' | |
#https://www.npmjs.com/package/gh-pages | |
- run: | | |
cd ./app | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
CI=false npm run deployghpages -- -u "github-actions-bot <support+actions@github.com>" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any |