mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-04-01 17:50:13 +00:00
added .env
This commit is contained in:
parent
5a75e21adb
commit
711634074a
1 changed files with 6 additions and 0 deletions
6
.github/workflows/deploy-blog.yml
vendored
6
.github/workflows/deploy-blog.yml
vendored
|
|
@ -42,6 +42,12 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Create .env file
|
||||
run: |
|
||||
cat > .env <<'EOF'
|
||||
${{ secrets.ENV_FILE }}
|
||||
EOF
|
||||
|
||||
- name: Build Astro site
|
||||
run: npm run build
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue