mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
chore(github-pages): 配置 GitHub Pages 环境变量
- 添加 environment 字段以指定部署环境 - 设置页面 URL 输出变量以便后续使用 - 确保工作流能够正确识别和部署到 GitHub Pages
This commit is contained in:
3
.github/workflows/github-pages.yml
vendored
3
.github/workflows/github-pages.yml
vendored
@@ -12,6 +12,9 @@ permissions:
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
steps:
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v6
|
||||
|
||||
Reference in New Issue
Block a user