Skip to content

Commit

Permalink
Merge branch 'main' into KDS-1831/add-ai-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
gyfchong authored Oct 8, 2023
2 parents ae7f840 + 432b0ee commit d21d5b9
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .changeset/fair-bats-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/thin-dancers-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
17 changes: 17 additions & 0 deletions .github/workflows/changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
outputs:
hasChangesets: ${{ steps.changesets.outputs.hasChangesets }}
hasPublished: ${{ steps.changesets.outputs.published }}
publishedPackages: ${{ steps.changesets.outputs.publishedPackages }}
env:
GITHUB_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -27,6 +28,22 @@ jobs:
commit: "version packages"
version: yarn ci:version
publish: yarn ci:publish
# deployment:
# runs-on: ubuntu-latest
# needs: version
# permissions:
# deployments: write
# steps:
# - uses: actions/checkout@v3
# - uses: ./.github/actions/setup
# - uses: chrnorm/deployment-action@v2
# name: Create GitHub deployment
# id: deployment
# with:
# token: "$GITHUB_TOKEN"
# environment-url: http://cultureamp.design
# environment: production
# description: ${{ needs.version.outputs.publishedPackages }}
notify-slack:
runs-on: ubuntu-latest
needs:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Deployment"

on:
workflow_dispatch:
inputs:
environment:
description: "Environment to deploy to"
type: environment
required: true

jobs:
deployment:
runs-on: ubuntu-latest
permissions:
deployments: write
steps:
- uses: actions/checkout@v3
- uses: chrnorm/deployment-action@v2
name: Create GitHub deployment
id: deployment
with:
token: ${{ github.token }}
environment-url: http://cultureamp.design
environment: ${{ github.event.inputs.environment }}

0 comments on commit d21d5b9

Please sign in to comment.