From a2ae92d41eccecf324dc895473d4b887d2dc7217 Mon Sep 17 00:00:00 2001 From: towhid Date: Fri, 1 Mar 2024 23:32:03 +0600 Subject: [PATCH] added envs to github action CI config --- .github/actions/setup/action.yaml | 5 ----- .github/workflows/continuous-integrations.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml index a3ca2af..0da7035 100644 --- a/.github/actions/setup/action.yaml +++ b/.github/actions/setup/action.yaml @@ -1,10 +1,5 @@ name: 'Setup' description: "Setups Node.js and yarn to run GitHub Actions' jobs." -env: - BASE_URL: ${{ secrets.BASE_URL }} - USER_NAME: ${{ secrets.USER_NAME }} - USER_PASSWORD: ${{ secrets.USER_PASSWORD }} - DATABASE_NAME: ${{ secrets.DATABASE_NAME }} runs: using: 'composite' steps: diff --git a/.github/workflows/continuous-integrations.yaml b/.github/workflows/continuous-integrations.yaml index 2b4749f..f878314 100644 --- a/.github/workflows/continuous-integrations.yaml +++ b/.github/workflows/continuous-integrations.yaml @@ -44,3 +44,9 @@ jobs: - name: 'Execute the build script' run: 'yarn run build' + +env: + BASE_URL: ${{ secrets.BASE_URL }} + USER_NAME: ${{ secrets.USER_NAME }} + USER_PASSWORD: ${{ secrets.USER_PASSWORD }} + DATABASE_NAME: ${{ secrets.DATABASE_NAME }} \ No newline at end of file