Skip to content

Commit 949116d

Browse files
authored
Merge pull request #41 from ansidev/hotfix/2.0.1
Hotfix v2.0.1
2 parents 15c8e81 + b1b649d commit 949116d

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

.changes/v2.0.1.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## [v2.0.1](https://github.com/ansidev/astro-basic-template/compare/v2.0.0...v2.0.1) (2023-02-26)
2+
3+
### Bug Fixes
4+
5+
- **deployment:** add missing environment variables
6+
7+
Full Changelog: [v2.0.0...v2.0.1](https://github.com/ansidev/astro-basic-template/compare/v2.0.0...v2.0.1)

.github/workflows/deploy_to_netlify.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,17 @@ jobs:
117117
env:
118118
NETLIFY_DEPLOY_PREFIX: ${{ needs.set_deploy_environment.outputs.netlify_deploy_prefix }}
119119
NETLIFY_DEPLOY_ALIAS: ${{ needs.set_deploy_environment.outputs.netlify_deploy_alias }}
120+
SITE_GA_ID: ${{ vars.SITE_GA_ID }}
121+
SITE_SWETRIX_ID: ${{ vars.SITE_SWETRIX_ID }}
122+
SITE_COUNTER_ANALYTICS_ID: ${{ vars.SITE_COUNTER_ANALYTICS_ID }}
120123
shell: bash
121124
run: |
122125
set -e
123126
[[ ${PROD:-false} == "true" ]] && \
124-
OUTPUT=$(pnpm netlify deploy \
127+
OUTPUT=$(GA_ID=$SITE_GA_ID \
128+
SWETRIX_ID=$SITE_SWETRIX_ID \
129+
COUNTER_ANALYTICS_ID=$SITE_COUNTER_ANALYTICS_ID \
130+
pnpm netlify deploy \
125131
--auth ${{ env.NETLIFY_AUTH_TOKEN }} \
126132
--site ${{ env.NETLIFY_SITE_ID }} \
127133
--json \

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
66

7+
## [v2.0.1](https://github.com/ansidev/astro-basic-template/compare/v2.0.0...v2.0.1) (2023-02-26)
8+
9+
### Bug Fixes
10+
11+
- **deployment:** add missing environment variables
12+
13+
Full Changelog: [v2.0.0...v2.0.1](https://github.com/ansidev/astro-basic-template/compare/v2.0.0...v2.0.1)
14+
715
## v2.0.0 (2023-02-26)
816

917
### Features

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "leetcode-blog",
33
"description": "Solutions for LeetCode problems - Written by ansidev",
44
"type": "module",
5-
"version": "2.0.0",
5+
"version": "2.0.1",
66
"license": "MIT",
77
"scripts": {
88
"dev": "astro dev",

0 commit comments

Comments
 (0)