Skip to content

Commit

Permalink
feat: 🎸 add DEPLOY_SITE
Browse files Browse the repository at this point in the history
  • Loading branch information
heimanba committed Jan 15, 2024
1 parent e1df9ce commit ac69122
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: 18.x
- name: Build
run: |
npm install && npm run build
npm install && DEPLOY_SITE=https://nacos-group.github.io npm run build
- name: Generate nojekyll
run: touch ./dist/.nojekyll
- name: Deploy
Expand Down
Empty file removed .nojekyll
Empty file.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import goatConfig from './goat.config';

// https://astro.build/config
export default defineConfig({
site: 'https://nacos.io',
site: process.env.DEPLOY_SITE || 'https://nacos.io',
image: {
domain: ["img.alicdn"]
},
Expand Down

0 comments on commit ac69122

Please sign in to comment.