mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
I lied
This commit is contained in:
parent
2f5d88341c
commit
e78b636481
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -21,11 +21,11 @@ jobs:
|
|||||||
|
|
||||||
# Set to Release if we're in master, otherwise keep us in Debug
|
# Set to Release if we're in master, otherwise keep us in Debug
|
||||||
- name: Set Release
|
- name: Set Release
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/main'
|
||||||
run: echo "BUILD_TYPE=Release" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
|
run: echo "BUILD_TYPE=Release" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
|
||||||
|
|
||||||
- name: Set Debug
|
- name: Set Debug
|
||||||
if: github.ref != 'refs/heads/master'
|
if: github.ref != 'refs/heads/main'
|
||||||
run: echo "BUILD_TYPE=Debug" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
|
run: echo "BUILD_TYPE=Debug" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
|
||||||
|
|
||||||
- uses: actions/setup-dotnet@v1
|
- uses: actions/setup-dotnet@v1
|
||||||
|
|||||||
4
.github/workflows/docs_build.yml
vendored
4
.github/workflows/docs_build.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
|
|
||||||
- run: cp -r docs/** .
|
- run: cp -r docs/** .
|
||||||
|
|
||||||
- if: github.ref == 'refs/heads/master'
|
- if: github.ref == 'refs/heads/main'
|
||||||
run: |
|
run: |
|
||||||
echo "URL_PREFIX=/" >> $GITHUB_ENV
|
echo "URL_PREFIX=/" >> $GITHUB_ENV
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ jobs:
|
|||||||
path: out/
|
path: out/
|
||||||
|
|
||||||
- name: Deploy To Pages
|
- name: Deploy To Pages
|
||||||
if: success() && github.ref == 'refs/heads/master'
|
if: success() && github.ref == 'refs/heads/main'
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.5
|
uses: JamesIves/github-pages-deploy-action@4.1.5
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user