mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix Deploy Step
This commit is contained in:
parent
d4d6101d1d
commit
6a26eee1df
23
.github/workflows/docs_build.yml
vendored
23
.github/workflows/docs_build.yml
vendored
@ -18,8 +18,18 @@ env:
|
|||||||
URL_PREFIX: '/'
|
URL_PREFIX: '/'
|
||||||
PIPENV_VENV_IN_PROJECT: 1
|
PIPENV_VENV_IN_PROJECT: 1
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "pages"
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Build Docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -68,7 +78,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: out/
|
path: out/
|
||||||
|
|
||||||
- name: Deploy To Pages
|
deploy:
|
||||||
if: success() && github.ref == 'refs/heads/main'
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Deploy Docs
|
||||||
|
needs: build
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
|
steps:
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v1
|
||||||
|
|
||||||
|
|||||||
5
.github/workflows/update_schemas.yml
vendored
5
.github/workflows/update_schemas.yml
vendored
@ -8,6 +8,11 @@ on:
|
|||||||
description: 'Name of the artifact to download and check against'
|
description: 'Name of the artifact to download and check against'
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
# Prevents schemas from trying to update on old commits
|
||||||
|
concurrency:
|
||||||
|
group: "schemas-${{ github.ref }}"
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update_schemas:
|
update_schemas:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user