Skip to content

Commit

Permalink
feat: change db name
Browse files Browse the repository at this point in the history
  • Loading branch information
trend-andy-pan committed Mar 4, 2024
1 parent edf35fb commit 5f2dea9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
- name: Insert questionnaires to MongoDB
if: github.event.client_payload.questionnaires != ''
run: |
~/bin/mongoimport '${{ secrets.MONGODB_ATLAS_CONN_STR }}' --db=2023-thanksgiving-day --collection=questionnaires --mode=insert --type=json --file=questionnaires.json
~/bin/mongoimport '${{ secrets.MONGODB_ATLAS_CONN_STR }}' --db=2024-sitcon --collection=questionnaires --mode=insert --type=json --file=questionnaires.json
- name: Insert personal information to MongoDB
if: github.event.client_payload.users != ''
run: |
~/bin/mongoimport '${{ secrets.MONGODB_ATLAS_CONN_STR }}' --db=2023-thanksgiving-day --collection=users --mode=insert --type=json --file=users.json
~/bin/mongoimport '${{ secrets.MONGODB_ATLAS_CONN_STR }}' --db=2024-sitcon --collection=users --mode=insert --type=json --file=users.json
Build_And_Deploy:
if: github.event_name == 'push'
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 trendmicro-tw-hr
Copyright (c) 2024 trendmicro-tw-hr

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 5f2dea9

Please sign in to comment.