From 7417875a0c5d351782169a1bb5bb19b5c271f92b Mon Sep 17 00:00:00 2001 From: "Md. Fazley Rabbi" Date: Thu, 23 Nov 2023 11:36:52 +0600 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 95898b4..e429f26 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,8 +11,9 @@ jobs: - name: Get the latest code uses: actions/checkout@v2.3.2 - uses: actions/setup-node@master - - name: Copy .env - run: php -r "if(!file_exists('.env')) copy('.env.example', '.env');" + - name: 'Create env file' + run: | + echo "${{ secrets.ROUTINE_ENV }}" > .env - name: Install Dependencies run: composer update --ignore-platform-reqs - name: Generate key