fix: resolve issues with actions

This commit is contained in:
Aarnav Tale
2023-01-25 10:41:53 -05:00
parent aa17f278e9
commit 0c2bcc2bf3
2 changed files with 7 additions and 5 deletions

View File

@@ -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)"

View File

@@ -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