diff --git a/.github/workflows/opengraph-card.yml b/.github/workflows/opengraph-card.yml deleted file mode 100644 index 9248090eece..00000000000 --- a/.github/workflows/opengraph-card.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Open Graph cards - -on: - workflow_dispatch: - -jobs: - open-graph-card: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 # otherwise, you will failed to push refs to dest repo - - - name: Open Graph social cards - uses: Jasmin2895/open-graph-image@v1.1 - with: - bold-text: "Java Design patterns" - plain-text: "by @AlexRogalskiy on GitHub" - theme: "dark" - - # - name: Archive open graph image - # uses: actions/upload-artifact@v2 - # with: - # name: open-graph-image - # path: images/generated/opengraph-card.png - # - # - name: Download all workflow run artifacts - # uses: actions/download-artifact@v2 - - - name: Copy generated artefact to image folder - id: tag_name - run: | - cp -rf alexander-rogalsky.gitbook.io.png ${{ github.workspace }}/images/generated - rm -rf alexander-rogalsky.gitbook.io.png - shell: bash - - - name: Commit update - uses: stefanzweifel/git-auto-commit-action@v4 - with: - branch: master - skip_dirty_check: true - commit_message: "docs: updates on open graph cards\n\n Added open graph cards" - commit_options: '--no-verify --signoff' - commit_user_name: GitHub Bot - commit_user_email: github-actions@nullables.io - commit_author: GitHub Bot diff --git a/README.md b/README.md index c8c82292deb..010ba65dfa8 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,12 @@ Like + OpenGraph card +

+ ## 🔥 _Feeds and Podcasts_ ### _Reddit posts_ diff --git a/images/generated/icon.png b/images/generated/icon.png deleted file mode 100644 index 231f1ab48df..00000000000 Binary files a/images/generated/icon.png and /dev/null differ diff --git a/images/opengraph-card.png b/images/opengraph-card.png new file mode 100644 index 00000000000..cf3624a84b0 Binary files /dev/null and b/images/opengraph-card.png differ