fix: resolve issues with actions
This commit is contained in:
3
.github/workflows/deploy.yaml
vendored
3
.github/workflows/deploy.yaml
vendored
@@ -1,3 +1,5 @@
|
|||||||
|
name: Deploy Action
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
@@ -22,7 +24,6 @@ jobs:
|
|||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git rm -rf .
|
git rm -rf .
|
||||||
git clean -fdx
|
git clean -fdx
|
||||||
git reset --hard
|
|
||||||
git checkout --orphan v1
|
git checkout --orphan v1
|
||||||
git add dist README.md LICENSE action.yaml
|
git add dist README.md LICENSE action.yaml
|
||||||
git commit -m "chore: create v1 release ($GITHUB_SHA)"
|
git commit -m "chore: create v1 release ($GITHUB_SHA)"
|
||||||
|
|||||||
9
.github/workflows/test.yaml
vendored
9
.github/workflows/test.yaml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Kubectl Action
|
name: Test Action
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -20,10 +20,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
|
git config --global user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
|
git rm -rf .
|
||||||
|
git clean -fdx
|
||||||
git checkout --orphan ci
|
git checkout --orphan ci
|
||||||
git add dist
|
git add dist README.md LICENSE action.yaml
|
||||||
git commit -m "chore: update dist folder ($GITHUB_SHA)"
|
git commit -m "chore: create ci test ($GITHUB_SHA)"
|
||||||
git push -f origin ci
|
git push -f origin ci
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
|
|||||||
Reference in New Issue
Block a user