Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11bbbb9207 | ||
|
|
574fbc2143 | ||
|
|
b284f0ba18 |
17
action.yaml
17
action.yaml
@@ -13,17 +13,6 @@ inputs:
|
|||||||
description: A base64 encoded reference to your authorization file (~/.kube/config)
|
description: A base64 encoded reference to your authorization file (~/.kube/config)
|
||||||
required: true
|
required: true
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: node16
|
||||||
steps:
|
main: dist/index.js
|
||||||
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
|
post: dist/post.js
|
||||||
shell: bash
|
|
||||||
- name: Configure kubectl CLI
|
|
||||||
run: setup-kubectl.sh
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
KUBECTL_VERSION: ${{ inputs.kubectl-version }}
|
|
||||||
- name: Authorize kubectl to the cluster
|
|
||||||
run: login-kubectl.sh
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
BASE64_KUBE_CONFIG: ${{ inputs.base64-kube-config }}
|
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "kubectl-action",
|
"name": "kubectl-action",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "ncc -smw --license licenses.txt build src/main.ts",
|
"dev": "ncc -smw --license licenses.txt build src/main.ts",
|
||||||
"build": "ncc -sm --license licenses.txt build src/main.ts",
|
"build": "ncc -sm --license licenses.txt build src/main.ts",
|
||||||
"push": "np --no-cleanup --no-publish --no-tests --message 'chore: v%s'",
|
"push": "np --no-cleanup --no-publish --no-tests --message 'chore: v%s' && git tag --force v1 && git push -f",
|
||||||
"postpush": "git tag --force v1 && git push -f",
|
|
||||||
"version": "pnpm run build && git add dist"
|
"version": "pnpm run build && git add dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user