Skip to content

Commit

Permalink
Fix: remove update website
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
  • Loading branch information
nlamirault committed Sep 18, 2023
1 parent f7cd3a3 commit 171f13f
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/chart-release.yml
Expand Up @@ -118,32 +118,32 @@ jobs:
git push
fi
update-website:
permissions:
contents: write # for Git to git push
needs: post-release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
ref: "gh-pages"
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Use Node.js 14.x
uses: actions/setup-node@v3.8.1
with:
node-version: 14.x

- run: npx js-yaml index.yaml | npx hbs-cli .github/templates/index.hbs -i - -e md

- name: Commit and push website
run: |
git add index.md
git commit -sm "Update website [ci-skip]" || exit 0
git push
# update-website:
# permissions:
# contents: write # for Git to git push
# needs: post-release
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
# with:
# ref: "gh-pages"
# fetch-depth: 0

# - name: Configure Git
# run: |
# git config user.name "$GITHUB_ACTOR"
# git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

# - name: Use Node.js 14.x
# uses: actions/setup-node@v3.8.1
# with:
# node-version: 14.x

# - run: npx js-yaml index.yaml | npx hbs-cli .github/templates/index.hbs -i - -e md

# - name: Commit and push website
# run: |
# git add index.md
# git commit -sm "Update website [ci-skip]" || exit 0
# git push

0 comments on commit 171f13f

Please sign in to comment.