Skip to content

Commit 2f3ccbf

Browse files
committed
fix: deploy depends on changes
1 parent aaa7f88 commit 2f3ccbf

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ jobs:
1616
with:
1717
filters: |
1818
logic-system:
19-
- 'apps/logic-system/**/*.ts'
19+
- 'apps/logic-system/src/**/*.ts'
2020
2121
deploy:
2222
runs-on: ubuntu-latest
23+
needs: changes
2324
container: ghcr.io/railwayapp/cli:latest
2425
environment: ${{ github.ref == 'refs/heads/main' && 'production' || 'dev' }}
2526
env:

apps/logic-system/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const app = new App(
1111

1212
app.start();
1313

14+
1415
//@ts-ignore
1516
BigInt.prototype.toJSON = function () {
1617
return this.toString();

0 commit comments

Comments
 (0)