Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/axios #17

Merged
merged 5 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: .env setting
run: |
echo -e "API_URL=${{secrets.API_URL}}\nGA_ID=${{secrets.GA_ID}}\nGTM_ID=${{secrets.GTM_ID}}" >> .env.production

- name: Install Dependencies
run: npm install

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: .env setting
run: |
echo -e "API_URL=${{secrets.API_URL}}\nGA_ID=${{secrets.GA_ID}}\nGTM_ID=${{secrets.GTM_ID}}" >> .env.production

- name: Install Dependencies
run: npm install

Expand Down
4 changes: 2 additions & 2 deletions gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ const config: GatsbyConfig = {
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: [
'G-RKBCHRSYZL', // Google Analytics / GA
process.env.GA_ID, // Google Analytics / GA
],
gtagConfig: {
optimize_id: 'GTM-T9FW9RST', // Google Tag Manager / GTA
optimize_id: process.env.GTM_ID, // Google Tag Manager / GTA
anonymize_ip: true,
cookie_expires: 1000,
},
Expand Down
Loading
Loading