Skip to content

Commit

Permalink
Merge pull request #41 from ansidev/hotfix/2.0.1
Browse files Browse the repository at this point in the history
Hotfix v2.0.1
  • Loading branch information
ansidev authored Feb 26, 2023
2 parents 15c8e81 + b1b649d commit 949116d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changes/v2.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## [v2.0.1](https://github.com/ansidev/astro-basic-template/compare/v2.0.0...v2.0.1) (2023-02-26)

### Bug Fixes

- **deployment:** add missing environment variables

Full Changelog: [v2.0.0...v2.0.1](https://github.com/ansidev/astro-basic-template/compare/v2.0.0...v2.0.1)
8 changes: 7 additions & 1 deletion .github/workflows/deploy_to_netlify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,17 @@ jobs:
env:
NETLIFY_DEPLOY_PREFIX: ${{ needs.set_deploy_environment.outputs.netlify_deploy_prefix }}
NETLIFY_DEPLOY_ALIAS: ${{ needs.set_deploy_environment.outputs.netlify_deploy_alias }}
SITE_GA_ID: ${{ vars.SITE_GA_ID }}
SITE_SWETRIX_ID: ${{ vars.SITE_SWETRIX_ID }}
SITE_COUNTER_ANALYTICS_ID: ${{ vars.SITE_COUNTER_ANALYTICS_ID }}
shell: bash
run: |
set -e
[[ ${PROD:-false} == "true" ]] && \
OUTPUT=$(pnpm netlify deploy \
OUTPUT=$(GA_ID=$SITE_GA_ID \
SWETRIX_ID=$SITE_SWETRIX_ID \
COUNTER_ANALYTICS_ID=$SITE_COUNTER_ANALYTICS_ID \
pnpm netlify deploy \
--auth ${{ env.NETLIFY_AUTH_TOKEN }} \
--site ${{ env.NETLIFY_SITE_ID }} \
--json \
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.

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).

## [v2.0.1](https://github.com/ansidev/astro-basic-template/compare/v2.0.0...v2.0.1) (2023-02-26)

### Bug Fixes

- **deployment:** add missing environment variables

Full Changelog: [v2.0.0...v2.0.1](https://github.com/ansidev/astro-basic-template/compare/v2.0.0...v2.0.1)

## v2.0.0 (2023-02-26)

### Features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "leetcode-blog",
"description": "Solutions for LeetCode problems - Written by ansidev",
"type": "module",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"scripts": {
"dev": "astro dev",
Expand Down

0 comments on commit 949116d

Please sign in to comment.