From ffba7f497228b2b55f5f57dc375d1e2806d10559 Mon Sep 17 00:00:00 2001 From: itsscb Date: Fri, 30 Aug 2024 12:53:32 +0200 Subject: [PATCH] Update prod.yml --- .github/workflows/prod.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index e3f8857..2875a0c 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -46,19 +46,16 @@ jobs: - name: install tailwindcss run: npm install -g tailwindcss + - name: list frontend dir (pre build) [DEBUG] + run: ls -la ./frontend/dist + - name: build frontend working-directory: ./frontend/ run: | trunk build --release - # - name: commit frontend release build - # run: | - # git config --global user.name "GitHub Action" - # git config --global user.email "actions@github.com" - # git add frontend/dist -f - # git diff --staged --quiet || (git commit -m "release: frontend build ${{ github.sha }} [skip ci]" && git push) - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: list frontend dir (pre upload) [DEBUG] + run: ls -la ./frontend/dist - name: upload frontend artifacts uses: actions/upload-artifact@v4 @@ -82,9 +79,8 @@ jobs: with: name: frontend-artifacts - # - name: display structure of downloaded files - # run: ls -R - # working-directory: ./frontend/dist + - name: List downloaded artifacts + run: ls -la ./frontend/dist - uses: shuttle-hq/deploy-action@main with: