Skip to content

Commit

Permalink
💚 deployFix: workflowのdeployコマンド修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Suke-H committed Sep 23, 2024
1 parent d4f167f commit 4b3dc12
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@ jobs:
- name: Deploy to Cloud Run
run: |
export $(grep -v '^#' .env | xargs) && \
source .env
gcloud run deploy ${{ env.SERVICE_NAME }} \
--image gcr.io/${{ secrets.PROJECT_ID }}/${{ env.SERVICE_NAME }}:$GITHUB_SHA \
--platform managed \
--region ${{ env.REGION }} \
--allow-unauthenticated \
--set-env-vars "NODE_ENV=$NODE_ENV, SLACK_WEBHOOK_URL=$SLACK_WEBHOOK_URL, SLACK_BOT_TOKEN=$SLACK_BOT_TOKEN, SLACK_CHANNEL_ID=$SLACK_CHANNEL_ID, SLACK_USER_ID=$SLACK_USER_ID, NOTION_INTEGRATION_TOKEN=$NOTION_INTEGRATION_TOKEN, NOTION_DATABASE_ID=$NOTION_DATABASE_ID"
--set-env-vars "SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN}" \
--set-env-vars "NODE_ENV=${NODE_ENV}" \
--set-env-vars "NOTION_INTEGRATION_TOKEN=${NOTION_INTEGRATION_TOKEN}" \
--set-env-vars "NOTION_DATABASE_ID=${NOTION_DATABASE_ID}" \
--set-env-vars "USER_IDS=${USER_IDS}" \
--set-env-vars "USER_NAMES=${USER_NAMES}" \
--set-env-vars "CHANNEL_IDS=${CHANNEL_IDS}" \
--set-env-vars "WEBHOOK_URLS=${WEBHOOK_URLS}"
1 change: 0 additions & 1 deletion src/utils/emojiMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ const emojiMapping = {
wastebasket: { reaction: 'wastebasket', notion: '🗑️' },
passport_control: { reaction: 'passport_control', notion: '🛂' },
adhesive_bandage: { reaction: 'adhesive_bandage', notion: '🩹' },
monocle_face: { reaction: 'monocle_face', notion: '🧐' },
coffin: { reaction: 'coffin', notion: '⚰️' },
test_tube: { reaction: 'test_tube', notion: '🧪' },
necktie: { reaction: 'necktie', notion: '👔' },
Expand Down

0 comments on commit 4b3dc12

Please sign in to comment.