.gitea/workflows/deploy.yml aktualisiert
This commit is contained in:
@@ -84,10 +84,16 @@ jobs:
|
|||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Build website
|
- name: Build website
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
- name: Package Artifacts
|
||||||
|
uses: https://github.com/thedoctor0/zip-release@0.7.1
|
||||||
|
with:
|
||||||
|
type: 'tar'
|
||||||
|
path: dist
|
||||||
|
filename: 'dist.tar.gz'
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: dist-files
|
name: dist.tar.gz
|
||||||
path: dist
|
path: dist
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
@@ -98,7 +104,7 @@ jobs:
|
|||||||
- name: Get build artifacts
|
- name: Get build artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: dist-files
|
name: dist.tar.gz
|
||||||
path: ./dist
|
path: ./dist
|
||||||
- name: Output contents
|
- name: Output contents
|
||||||
run: ls
|
run: ls
|
||||||
|
|||||||
Reference in New Issue
Block a user