Skip to content

fix(v10-banner): added a banner (#3769) #1529

fix(v10-banner): added a banner (#3769)

fix(v10-banner): added a banner (#3769) #1529

Workflow file for this run

name: Deployment status
on:
workflow_dispatch:
inputs:
name:
description: 'Reason'
push:
branches:
- v10
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install packages
run: yarn install --frozen-lockfile --network-timeout 300000
- name: Build site
run: yarn build:clean
- name: Create CNAME
run: |
touch public/CNAME
echo "v10.carbondesignsystem.com" > public/CNAME
- name: Push to v10 repo
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
source-directory: 'public'
destination-github-username: 'carbon-design-system'
destination-repository-name: 'carbon-website-v10'
user-name: carbon-bot
user-email: [email protected]
target-branch: main
commit-message: 'chore(release): ${{ github.ref }}'