Fix Docs Triggers (#555)

Idk why the triggers don't work on the release build action

## Bug fixes
- Doc build actually triggers yippee
- Triggers on push to main instead of release build bc aaaaaaaaaa
This commit is contained in:
Nick 2023-03-25 21:21:43 -04:00 committed by GitHub
commit 41eb8438eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 8 deletions

View File

@ -12,7 +12,7 @@ on:
branches: [main] branches: [main]
paths: paths:
- docs/** - docs/**
- NewHorizons/Schemas/*.xsd - NewHorizons/Schemas/*
env: env:
URL_PREFIX: '/' URL_PREFIX: '/'

View File

@ -35,13 +35,6 @@ jobs:
with: with:
artifact_name: NewHorizons-Schemas-Release artifact_name: NewHorizons-Schemas-Release
secrets: inherit secrets: inherit
Update_Docs:
name: 'Update Docs'
needs: Build
if: ${{ needs.Build.outputs.schemas_changed == 'true' && github.ref == 'refs/heads/main' }} # Same thing with docs
uses: './.github/workflows/docs_build.yml'
with:
schemas_artifact: NewHorizons-Schemas-Debug
Update_Release: Update_Release:
name: 'Create/Update Release Asset' name: 'Create/Update Release Asset'
needs: Build needs: Build

View File

@ -21,3 +21,5 @@ aaaaaaaaaaaaaaaaaaaaaaaaa
## 9/2/22 ## 9/2/22
Where were you when new horizons docs died, im going gorbo mode Where were you when new horizons docs died, im going gorbo mode