Update Go Release workflow to include frontend build and copy step
This commit is contained in:
parent
d75fbf03be
commit
632baef054
|
@ -18,7 +18,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: 'donetick/frontend'
|
repository: 'donetick/frontend'
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
path: 'frontend'
|
path: 'frontend-code'
|
||||||
# build frontend
|
# build frontend
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
npm run build
|
npm run build
|
||||||
- name: Copy Frontend
|
- name: Copy Frontend
|
||||||
run: |
|
run: |
|
||||||
cp -r frontend/dist core/frontend/dist
|
cp -r frontend-code/dist frontend/dist
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
|
|
Loading…
Reference in New Issue