Skip to content

Commit

Permalink
fix: move reusable github workflows to package
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPattell committed Jul 13, 2023
1 parent d0b2731 commit 238dade
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 257 deletions.
73 changes: 0 additions & 73 deletions .github/workflows/build.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/deploy-aws.yml

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/docker-build.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/release-r.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Semantic release
name: Release app

on:
push:
branches: [ prod ]

jobs:
build:
uses: ./.github/workflows/build.yml
uses: Lomray-Software/vite-ssr-boost/.github/workflows/ssr-boost-build.yml@staging
with:
app-build-args: --unlock-robots

release:
needs: [build]
uses: ./.github/workflows/release-r.yml
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: ./.github/workflows/docker-build.yml
uses: Lomray-Software/vite-ssr-boost/.github/workflows/ssr-boost-docker-build.yml@staging
with:
registry: ghcr.io
image-name: ${{ github.repository }}/web
Expand All @@ -31,7 +31,7 @@ jobs:

deploy-aws:
needs: [docker-build]
uses: ./.github/workflows/deploy-aws.yml
uses: Lomray-Software/vite-ssr-boost/.github/workflows/ssr-boost-docker-deploy-aws.yml@staging
with:
image: ${{ needs.docker-build.outputs.image-tag }}
service: vite-template
Expand Down

0 comments on commit 238dade

Please sign in to comment.