Skip to content

Commit

Permalink
localize the .*ignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Nov 4, 2024
1 parent 75bc294 commit b41f81d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ jobs:
- run: gcloud config set app/cloud_build_timeout 300

- run: |
touch .dockerignore
echo "app/**" >> .dockerignore
touch .gcloudignore
echo "app/**" >> .gcloudignore
cp ./server/.dockerignore .dockerignore
cp ./server/.gcloudignore .gcloudignore
- name: Deploy to Cloud Run
id: deploy
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ __pycache__

reference_code

keys/
keys/
.ruff_cache/
5 changes: 5 additions & 0 deletions app/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.streamlit/
.vscode/
server/
tests/
.env.*
5 changes: 5 additions & 0 deletions app/.gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.streamlit/
.vscode/
server/
tests/
.env.*
5 changes: 5 additions & 0 deletions server/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.streamlit/
.vscode/
app/
tests/
.env.*
5 changes: 5 additions & 0 deletions server/.gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.streamlit/
.vscode/
app/
tests/
.env.*

0 comments on commit b41f81d

Please sign in to comment.