Skip to content

chore: ci/cd for multiple apps #1

chore: ci/cd for multiple apps

chore: ci/cd for multiple apps #1

Workflow file for this run

name: Menthor Apps Deployment
on:
push:
branches:
- main
jobs:
changes:
name: Path filter
runs-on: ubuntu-latest
outputs:
app: ${{ steps.filter.outputs.app }}
www: ${{ steps.filter.outputs.www }}
steps:
- name: Checkout
uses: 'actions/checkout@v3'
- uses: dorny/paths-filter@v2
id: filter
with:
base: ${{ github.ref }}
filters: |
app:
- '.env.*'
- 'apps/app/**'
- 'packages/**'
www:
- '.env.*'
- 'apps/www/**'
- 'packages/**'
app-deploy:

Check failure on line 35 in .github/workflows/prepare.yml

View workflow run for this annotation

GitHub Actions / Menthor Apps Deployment

Invalid workflow file

The workflow is not valid. .github/workflows/prepare.yml (Line: 35, Col: 3): Error calling workflow 'menthorlabs/menthor/.github/workflows/deploy.yml@e67af28a4de29e64817f2cf1953d3b50d4afc3f2'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.
needs: changes
if: ${{ needs.changes.outputs.app == 'true' }}
secrets: inherit
uses: ./.github/workflows/deploy.yml
with:
APP_NAME: app
BUCKET: s3://menthor.io-app/app
www-deploy:
needs: changes
if: ${{ needs.changes.outputs.www == 'true' }}
secrets: inherit
uses: ./.github/workflows/deploy.yml
with:
APP_NAME: www
BUCKET: s3://menthor.io