diff --git a/.changeset/swift-dolphins-pull.md b/.changeset/swift-dolphins-pull.md new file mode 100644 index 00000000..c07009da --- /dev/null +++ b/.changeset/swift-dolphins-pull.md @@ -0,0 +1,5 @@ +--- +"gatsby-blog": minor +--- + +프로필 사진 교체 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24923552..8c4364a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,22 @@ jobs: name: Create Release Pull Request or Publish to npm runs-on: ubuntu-latest steps: - - name: Checkout repository + - name: Checkout code uses: actions/checkout@v3 + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + node-version: "18.x" + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: 9 + + - name: Install dependencies + run: pnpm install + - name: Create Release Pull Request or Publish uses: changesets/action@v1 with: @@ -23,19 +36,3 @@ jobs: version: pnpm changeset version env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - release-tag: - name: Release pushed tag - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Create GitHub Release - env: - VERSION: ${{ github.ref_name }} - GH_TOKEN: ${{ github.token }} - run: | - gh release create "$VERSION" \ - --repo="$GITHUB_REPOSITORY" \ - --title="${VERSION#v}" \ - --generate-notes diff --git a/global.d.ts b/global.d.ts new file mode 100644 index 00000000..1dd9bee9 --- /dev/null +++ b/global.d.ts @@ -0,0 +1,4 @@ +declare module "*.css" { + const content: { [className: string]: string } + export default content +} diff --git a/src/components/@layout/bio/index.tsx b/src/components/@layout/bio/index.tsx index a506c522..e04ec8fc 100644 --- a/src/components/@layout/bio/index.tsx +++ b/src/components/@layout/bio/index.tsx @@ -7,8 +7,8 @@ import * as React from "react" import { useStaticQuery, graphql } from "gatsby" -import { StaticImage } from "gatsby-plugin-image" -import { profile } from "./bio.module.css" +import styles from "./bio.module.css" +import profileImage from "./profile.gif" const Bio = () => { const data = useStaticQuery(graphql` @@ -27,18 +27,9 @@ const Bio = () => { const author = data.site.siteMetadata?.author return ( -