diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 77feb0b..343e067 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -60,6 +60,8 @@ jobs: with: path: | public/css/app.css + public/js/app.js + public/js/vendor.js key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} restore-keys: | @@ -111,30 +113,32 @@ jobs: - name: Code Checkout uses: actions/checkout@v4 - - name: Cache page assets - id: cache-page-assets - uses: actions/cache@v3 - env: - cache-name: page-assets - with: - path: | - public/css/app.css - key: - ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - - - if: ${{ steps.cache-page-assets.outputs.cache-hit != 'true' }} - name: List the state of page assets - continue-on-error: false - run: | - ls -al - ls -al public/css/ +# - name: Cache page assets +# id: cache-page-assets +# uses: actions/cache@v3 +# env: +# cache-name: page-assets +# with: +# path: | +# public/css/app.css +# key: +# ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} +# restore-keys: | +# ${{ runner.os }}-build-${{ env.cache-name }}- +# +# - if: ${{ steps.cache-page-assets.outputs.cache-hit != 'true' }} +# name: List the state of page assets +# continue-on-error: false +# run: | +# ls -al public/css/ +# ls -al public/js/ - name: Record version and Delete Unnecessary files run: | echo ${GITHUB_SHA::8} > VERSION rm -rf .git* tests/ storage/app/test/ + ls -al public/css/ + ls -al public/js/ - name: Build and Push Docker Image uses: docker/build-push-action@v5