From 928d0fa8ae00aada779f05e0f4a7ab15d1172f68 Mon Sep 17 00:00:00 2001 From: itsscb Date: Wed, 28 Aug 2024 20:33:20 +0200 Subject: [PATCH 1/5] Update prod.yml --- .github/workflows/prod.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 16ee29d..bfc073e 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -77,6 +77,15 @@ jobs: run: ls -R working-directory: ./frontend/dist + - 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 }} + - uses: shuttle-hq/deploy-action@main with: deploy-key: ${{ secrets.SHUTTLE_API_KEY }} From bd9023b3a32bf2fd77e1915bb4a2c474f6920a90 Mon Sep 17 00:00:00 2001 From: itsscb Date: Wed, 28 Aug 2024 20:46:14 +0200 Subject: [PATCH 2/5] Update prod.yml --- .github/workflows/prod.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index bfc073e..e0c04b5 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -51,6 +51,15 @@ jobs: 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: upload frontend artifacts uses: actions/upload-artifact@v4 with: @@ -77,15 +86,6 @@ jobs: run: ls -R working-directory: ./frontend/dist - - 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 }} - - uses: shuttle-hq/deploy-action@main with: deploy-key: ${{ secrets.SHUTTLE_API_KEY }} From abab6131cb93f44a8ad303463234bd0bafd58ee0 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 28 Aug 2024 18:46:45 +0000 Subject: [PATCH 3/5] release: frontend build bd9023b3a32bf2fd77e1915bb4a2c474f6920a90 [skip ci] --- frontend/dist/index.html | 4 +- frontend/dist/public/styles.css | 40 ++++++++++++------- ...eea0a0.css => styles-77d352ca8ada1544.css} | 40 ++++++++++++------- 3 files changed, 54 insertions(+), 30 deletions(-) rename frontend/dist/{styles-56e395d325eea0a0.css => styles-77d352ca8ada1544.css} (98%) diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 8ec95ff..e502265 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -4,7 +4,7 @@ wordl - + @@ -13,7 +13,7 @@ -