From d21c4f258fbab85e305df18269581f48827f1d97 Mon Sep 17 00:00:00 2001 From: aliahmadmehmood Date: Wed, 10 Jul 2024 05:18:11 +0500 Subject: [PATCH] Update and rename action.yaml to ali.yaml --- .github/workflows/{action.yaml => ali.yaml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{action.yaml => ali.yaml} (93%) diff --git a/.github/workflows/action.yaml b/.github/workflows/ali.yaml similarity index 93% rename from .github/workflows/action.yaml rename to .github/workflows/ali.yaml index 51114f570..347e56625 100644 --- a/.github/workflows/action.yaml +++ b/.github/workflows/ali.yaml @@ -85,8 +85,8 @@ jobs: aws-region: us-east-1 - name: Create test function run: | - aws lambda create-function --function-name test-function-${{ matrix.input }} \ - --code S3Bucket=,S3Key=${{ github.repository }}/${{ github.sha }}.zip \ + aws lambda create-function --function-name ali-${{ matrix.input }} \ + --code S3Bucket=aliahmad-git-test,S3Key=${{ github.repository }}/${{ github.sha }}.zip \ --handler lambda_function.lambda_handler --runtime python3.8 \ --role arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ - name: Invoke test function @@ -116,7 +116,7 @@ jobs: run: | aws lambda update-function-code \ --function-name \ - --s3-bucket \ + --s3-bucket aliahmad-git-test \ --s3-key ${{ github.repository }}/${{ github.sha }}.zip \ --publish @@ -130,4 +130,4 @@ jobs: uses: mhausenblas/mkdocs-deploy-gh-pages@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CONFIG_FILE: mkdocs.yaml \ No newline at end of file + CONFIG_FILE: mkdocs.yaml