diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ddc5577..2d2d8ab 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,3 +1,5 @@ +name: Deploy Action + on: push: tags: @@ -22,7 +24,6 @@ jobs: git config --global user.name "github-actions[bot]" git rm -rf . git clean -fdx - git reset --hard git checkout --orphan v1 git add dist README.md LICENSE action.yaml git commit -m "chore: create v1 release ($GITHUB_SHA)" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index afa9cd8..05de6cf 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,4 +1,4 @@ -name: Kubectl Action +name: Test Action on: push: @@ -20,10 +20,11 @@ jobs: run: | git config --global user.email "<41898282+github-actions[bot]@users.noreply.github.com>" git config --global user.name "github-actions[bot]" - + git rm -rf . + git clean -fdx git checkout --orphan ci - git add dist - git commit -m "chore: update dist folder ($GITHUB_SHA)" + git add dist README.md LICENSE action.yaml + git commit -m "chore: create ci test ($GITHUB_SHA)" git push -f origin ci test: name: Test