diff --git a/.github/workflows/azure-app-service-settings.yml b/.github/workflows/azure-app-service-settings.yml index f0bfd85..677bf48 100644 --- a/.github/workflows/azure-app-service-settings.yml +++ b/.github/workflows/azure-app-service-settings.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Set current datetime as env variable env: - TZ: 'Asia/Tokyo' # タイムゾーン指定 + TZ: 'Asia/Tokyo' run: echo "CURRENT_DATETIME=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV - name: Az CLI Login uses: azure/login@v2 @@ -28,7 +28,7 @@ jobs: with: app-name: ${{ secrets.AZURE_WEBAPP_NAME }} slot-name: 'Production' - app-settings-json: "${{ format(vars.AZURE_WEBAPP_APP_SETTINGS, env.CURRENT_DATETIME) }}" + app-settings-json: "${{ format(vars.AZURE_WEBAPP_APP_SETTINGS, 'env.CURRENT_DATETIME') }}" general-settings-json: '${{ vars.AZURE_WEBAPP_GENERAL_SETTINGS }}' - name: Az CLI Logout run: az logout