From a6102e6caa3010ff5cbd69f5a35a7ce92e9a5d73 Mon Sep 17 00:00:00 2001 From: AbigailDeng Date: Tue, 13 Aug 2024 11:02:36 +0800 Subject: [PATCH] feat: add options --- .github/workflows/kubernetes.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/kubernetes.yml b/.github/workflows/kubernetes.yml index 2965e48..9f681e7 100644 --- a/.github/workflows/kubernetes.yml +++ b/.github/workflows/kubernetes.yml @@ -18,6 +18,7 @@ on: options: - aelf-docs-dev - aefinder-docs-dev + - aefinder-docs-prod - tomorrowdao-docs-dev - tomorrowdao-docs-prod @@ -25,7 +26,7 @@ jobs: build: name: Build and Push Docker image ${{inputs.environment}} to Docker Hub runs-on: ubuntu-latest - environment: + environment: name: ${{ inputs.environment }} url: https://${{ vars.SITE_URL }} permissions: @@ -37,8 +38,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 18 - cache: 'npm' - + cache: "npm" + - run: npm install - name: create env file @@ -75,7 +76,7 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - + - name: Deploy uses: actions/github-script@v6 with: