Update .github/workflows/Continues Integration.yaml
Some checks reported warnings
Continues Integration / Install dependencies (push) Successful in 36s
Continues Integration / Build docker image (push) Has been cancelled
Continues Integration / Build production (push) Has been cancelled
Continues Integration / Build (push) Has been cancelled

This commit is contained in:
Zakary Timson 2023-07-28 18:44:11 +00:00
parent c366458652
commit 7549b8e01f

View File

@ -46,14 +46,12 @@ jobs:
- name: Build sources - name: Build sources
run: npm run build:dev run: npm run build:dev
- name: Compress artifacts - name: Cache build artifacts
run: tar -czvf dist.tar.gz dist uses: actions/cache@v3
- name: Upload artifacts
uses: actions/upload-artifact@v3
with: with:
name: build-dev path: ./dist
path: dist.tar.gz key: dist-dev
restore-keys: dist-dev
build-prod: build-prod:
name: Build production name: Build production
@ -74,14 +72,12 @@ jobs:
- name: Build sources - name: Build sources
run: npm run build:prod run: npm run build:prod
- name: Compress artifacts - name: Cache build artifacts
run: tar -czvf dist.tar.gz dist uses: actions/cache@v3
- name: Upload artifacts
uses: actions/upload-artifact@v3
with: with:
name: build-prod path: ./dist
path: dist.tar.gz key: dist-prod
restore-keys: dist-prod
docker: docker:
name: Build docker image name: Build docker image
@ -92,19 +88,16 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Download production build - name: Restore build artifacts
uses: actions/download-artifact@v3 uses: actions/cache/restore@v3
with: with:
name: build-prod path: ./dist
path: dist.tar.gz key: dist-prod
restore-keys: dist-prod
- name: Extract artifacts
run: tar -xzvf dist.tar.gz
- name: Build docker image - name: Build docker image
uses: ztimson/actions/docker/build@develop uses: ztimson/actions/docker/build@develop
- name: Push docker image - name: Push docker image
uses: ztimson/actions/docker/push@develop uses: ztimson/actions/docker/push@develop
with: with: