Skip to content

Commit

Permalink
rename test to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
keturiosakys committed Jan 9, 2024
1 parent 382384d commit 091a2b7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: test
name: Lint and test Helm charts
on:
pull_request:
paths:
- "charts/**"
jobs:
lint-chart:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/copy-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Copy README to gh-pages
on:
push:
branches:
- "main"
paths:
- "README.md"
jobs:
copy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
cp -f README.md ${{ runner.temp }}/README.md
- uses: actions/checkout@v4
with:
ref: gh-pages
- run: |
cp -f ${{ runner.temp }}/README.md .
git config user.name "FiberBot"
git config user.email "fiberbot@users.noreply.github.com"
git add README.md
git commit --signoff -m "copy README from main"
git push

0 comments on commit 091a2b7

Please sign in to comment.