Update prod.yml
This commit is contained in:
parent
9be531a686
commit
ffba7f4972
18
.github/workflows/prod.yml
vendored
18
.github/workflows/prod.yml
vendored
@ -46,19 +46,16 @@ jobs:
|
|||||||
- name: install tailwindcss
|
- name: install tailwindcss
|
||||||
run: npm install -g tailwindcss
|
run: npm install -g tailwindcss
|
||||||
|
|
||||||
|
- name: list frontend dir (pre build) [DEBUG]
|
||||||
|
run: ls -la ./frontend/dist
|
||||||
|
|
||||||
- name: build frontend
|
- name: build frontend
|
||||||
working-directory: ./frontend/
|
working-directory: ./frontend/
|
||||||
run: |
|
run: |
|
||||||
trunk build --release
|
trunk build --release
|
||||||
|
|
||||||
# - name: commit frontend release build
|
- name: list frontend dir (pre upload) [DEBUG]
|
||||||
# run: |
|
run: ls -la ./frontend/dist
|
||||||
# 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
|
- name: upload frontend artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -82,9 +79,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: frontend-artifacts
|
name: frontend-artifacts
|
||||||
|
|
||||||
# - name: display structure of downloaded files
|
- name: List downloaded artifacts
|
||||||
# run: ls -R
|
run: ls -la ./frontend/dist
|
||||||
# working-directory: ./frontend/dist
|
|
||||||
|
|
||||||
- uses: shuttle-hq/deploy-action@main
|
- uses: shuttle-hq/deploy-action@main
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user