Skip to content

docs: fix oauth-token code sample in README (#34) #60

docs: fix oauth-token code sample in README (#34)

docs: fix oauth-token code sample in README (#34) #60

Workflow file for this run

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
release:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
pages: write
id-token: write
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{secrets.GOOGLEWORKSPACE_BOT_TOKEN}}
release-type: node
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: git status
- run: |
pnpm config set '//wombat-dressing-room.appspot.com/:_authToken' "${NPM_WOMBAT_TOKEN}"
pnpm publish --no-git-checks --provenance
env:
NPM_WOMBAT_TOKEN: ${{ secrets.NPM_WOMBAT_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: "storybook-static"
- id: deployment
uses: actions/deploy-pages@v4