Skip to content

Commit

Permalink
ci(meta): Build staging if project name has staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Gocnak authored Jun 27, 2024
1 parent d238ada commit 0ffd8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/frontend_cf_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: npx nx run db:generate

- name: Build Frontend
run: npx nx run frontend:build:production
run: npx nx run frontend:build:${{ contains( inputs.project_name, 'staging' ) && 'staging' || 'production' }}

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
Expand Down

0 comments on commit 0ffd8c6

Please sign in to comment.