Skip to content

Commit

Permalink
Deploy related
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jul 14, 2024
1 parent 8ebd72e commit 926d8b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
push:
branches: [ main ]
workflow_dispatch:
# Once a month:
schedule:
- cron: '0 0 1 * *'
jobs:
build-server:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Build projects
name: Build projects (dev)

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions utils/mk_bubbles.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const RETURNS_CONDITION = `
((code LIKE '0084%%') AND NOT ((econ_cls_json->>0)::jsonb->>2='266'))
`;

const GOV_INDUSTIES_CONDITION = `
const GOV_INDUSTRIES_CONDITION = `
(code LIKE '0089%%' OR
code LIKE '0091%%' OR
code LIKE '0093%%' OR
Expand All @@ -26,7 +26,7 @@ const GOV_INDUSTIES_CONDITION = `

const TOTAL_BUDGET_CONDITION = `
AND NOT code LIKE '0000%%'
AND NOT ` + GOV_INDUSTIES_CONDITION + `
AND NOT ` + GOV_INDUSTRIES_CONDITION + `
AND NOT ` + RETURNS_CONDITION;

const EXPENSES_CONDITION = `length(code) = 10 AND year = ` + YEAR + TOTAL_BUDGET_CONDITION;
Expand Down

0 comments on commit 926d8b9

Please sign in to comment.