From 5e99360a5b1b08641edbf97a299ff166e637c706 Mon Sep 17 00:00:00 2001 From: dashuai Date: Mon, 30 Sep 2024 09:52:38 +0800 Subject: [PATCH] Fix/blog (#257) --- .github/workflows/deploy.yml | 30 +++++++++---------- .../index.md | 4 +-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 39a468ea54..819bbce35d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,25 +29,25 @@ jobs: uses: pnpm/action-setup@v4 with: version: 9 - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - name: Setup pnpm cache - uses: actions/cache@v4 - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + # - name: Get pnpm store directory + # shell: bash + # run: | + # echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + # - name: Setup pnpm cache + # uses: actions/cache@v4 + # with: + # path: ${{ env.STORE_PATH }} + # key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + # restore-keys: | + # ${{ runner.os }}-pnpm-store- - name: Install dependencies run: pnpm install - name: build run: pnpm run build - - uses: peaceiris/actions-gh-pages@v4 + - uses: JamesIves/github-pages-deploy-action@v4 if: github.event_name != 'pull_request' with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./build - publish_branch: dist-pages + token: ${{ secrets.GITHUB_TOKEN }} + folder: ./build + branch: dist-pages diff --git a/blog/2024-09-11-behind-the-plugin-meet-the-student-contributors/index.md b/blog/2024-09-11-behind-the-plugin-meet-the-student-contributors/index.md index 779cbbd607..38e864dbfe 100644 --- a/blog/2024-09-11-behind-the-plugin-meet-the-student-contributors/index.md +++ b/blog/2024-09-11-behind-the-plugin-meet-the-student-contributors/index.md @@ -2,7 +2,7 @@ title: "Behind the Plugin: Meet the Student Contributors" authors: [Anne] category: Community -featured: true +featured: false image: 2024-09-11-cover@4x.png description: "Find out the process of building the plugin and reflection from the students." @@ -56,4 +56,4 @@ By contributing, students can get real-world experience, solve real problems, an These two students didn't just write code; they went the extra mile! They created guides to help others set things up and contributed blog posts about how to configure the [frontend](https://answer.apache.org/blog/2024/08/16/apache-answer-frontend-configuration-guide) and [backend](https://answer.apache.org/blog/2024/08/20/apache-answer-backend-configuration-guide), as well as [add new plugins](https://answer.apache.org/blog/2024/08/22/guide-to-add-answer-plugins). Plus, they updated and translated the docs to make them easier to understand for Chinese speakers. -We're so grateful for their hard work! We hope more students will join us in making open source a welcoming place. There are lots of ways to get involved, even if you're not a coder. Click [here](https://answer.apache.org/community/contributing) to check it out and give it a try. \ No newline at end of file +We're so grateful for their hard work! We hope more students will join us in making open source a welcoming place. There are lots of ways to get involved, even if you're not a coder. Click [here](https://answer.apache.org/community/contributing) to check it out and give it a try.