Skip to content

Commit

Permalink
Specify path and branches
Browse files Browse the repository at this point in the history
  • Loading branch information
kks32 committed Jun 25, 2024
1 parent 1f0b8cd commit 8c0ddad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
- run:
name: Train & Test
command: |
TMP_DIR="./gns-sample"
TMP_DIR="../gns-sample"
DATASET_NAME="WaterDropSample"
git clone https://github.com/geoelements/gns-sample
git clone https://github.com/geoelements/gns-sample ../gns-sample
mkdir -p ${TMP_DIR}/${DATASET_NAME}/models/
mkdir -p ${TMP_DIR}/${DATASET_NAME}/rollout/
DATA_PATH="${TMP_DIR}/${DATASET_NAME}/dataset/"
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ name: Build and Push to GHCR

on:
push:
branches:
- v2
paths:
- 'requirements.txt'
- 'Dockerfile'
- requirements.txt
- Dockerfile
pull_request:
branches:
- v2
paths:
- 'requirements.txt'
- 'Dockerfile'
- requirements.txt
- Dockerfile

env:
REGISTRY: ghcr.io
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- name: Train GNS
if: github.event_name != 'workflow_run'
run: |
TMP_DIR="./gns-sample"
TMP_DIR="../gns-sample"
DATASET_NAME="WaterDropSample"
git clone https://github.com/geoelements/gns-sample
git clone https://github.com/geoelements/gns-sample ../gns-sample
mkdir -p ${TMP_DIR}/${DATASET_NAME}/models/
mkdir -p ${TMP_DIR}/${DATASET_NAME}/rollout/
DATA_PATH="${TMP_DIR}/${DATASET_NAME}/dataset/"
Expand Down

0 comments on commit 8c0ddad

Please sign in to comment.