From c71b1e0a7292caf4a29e04527ff65d92490f6de6 Mon Sep 17 00:00:00 2001 From: Garima Ketan Chauhan Date: Tue, 4 Mar 2025 17:03:33 +0100 Subject: [PATCH] Update update_primary_nginx.yml --- .github/workflows/update_primary_nginx.yml | 25 ---------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index 8a54b80..fe2fb63 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -1,26 +1,5 @@ name: UNFINISHED - setup nginx from the configuration file -on: - workflow_dispatch: - -jobs: - deploy: - runs-on: self-hosted - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Dotenv Action - uses: falti/dotenv-action@v1.1.4 - with: - export-variables: true - keys-case: bypass - - - name: Check environment variables - run: env - - name: UNFINISHED - setup nginx from the configuration file - on: workflow_dispatch: @@ -71,9 +50,5 @@ jobs: # run: envsubst < ./nginx_template.txt > temp_default.conf # Maybe look at https://www.baeldung.com/linux/envsubst-command to get an idea - - name: Copy temporary file to correct place - run: cp temp_default.conf /etc/nginx/conf.d/default.conf - - name: Show nginx file - run: cat /etc/nginx/conf.d/default.conf