Skip to content

fix: move reusable github workflows to package #23

fix: move reusable github workflows to package

fix: move reusable github workflows to package #23

Workflow file for this run

name: Release app
on:
push:
branches: [ prod ]
jobs:
build:
uses: Lomray-Software/vite-ssr-boost/.github/workflows/ssr-boost-build.yml@staging
with:
app-build-args: --unlock-robots
release:
needs: [build]
uses: Lomray-Software/vite-ssr-boost/.github/workflows/ssr-boost-release.yml@staging
with:
has-release-asset: true
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
docker-build:
needs: [build, release]
uses: Lomray-Software/vite-ssr-boost/.github/workflows/ssr-boost-docker-build.yml@staging
with:
registry: ghcr.io
image-name: ${{ github.repository }}/web
version: ${{ needs.release.outputs.version }}
app-build-path: ./build
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-aws:
needs: [docker-build]
uses: Lomray-Software/vite-ssr-boost/.github/workflows/ssr-boost-deploy-aws.yml@staging
with:
image: ${{ needs.docker-build.outputs.image-tag }}
service: vite-template
cluster: Development
task-container-name: web
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}