Build tar, as all the dates are messed up with zip
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m23s
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m23s
This commit is contained in:
@@ -27,14 +27,16 @@ jobs:
|
|||||||
- name: Get Version Number
|
- name: Get Version Number
|
||||||
id: get_version
|
id: get_version
|
||||||
run: echo "::set-output name=VERSION::$(node -p "require('./package.json').version")"
|
run: echo "::set-output name=VERSION::$(node -p "require('./package.json').version")"
|
||||||
# - name: Create Tarball of Build
|
- name: Tarfile
|
||||||
# run: tar -czvf build-${{ steps.get_version.outputs.VERSION }}.tar.gz dist/pwa
|
run: |
|
||||||
|
cd dist/pwa
|
||||||
|
tar czf ../../build-${{ steps.get_version.outputs.VERSION }}.tar.gz .
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-artifact-${{ steps.get_version.outputs.VERSION }}.${{ gitea.run_number }}
|
name: build-artifact-${{ steps.get_version.outputs.VERSION }}.${{ gitea.run_number }}
|
||||||
# path: build-${{ steps.get_version.outputs.VERSION }}.tar.gz
|
path: build-${{ steps.get_version.outputs.VERSION }}.tar.gz
|
||||||
path: dist/pwa/
|
# path: dist/pwa/
|
||||||
- name: Trigger Ansible Deploy Playbook
|
- name: Trigger Ansible Deploy Playbook
|
||||||
uses: https://github.com/distributhor/workflow-webhook@v3
|
uses: https://github.com/distributhor/workflow-webhook@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user