Skip to content

Commit

Permalink
DEBUG WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Sep 9, 2024
1 parent b5381db commit 4573b5f
Showing 1 changed file with 11 additions and 20 deletions.
31 changes: 11 additions & 20 deletions .github/workflows/deploy_gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- development
- actions-check
jobs:
build:
runs-on: ubuntu-20.04
Expand All @@ -19,25 +20,15 @@ jobs:
name: Set up .NET Core SDK
with:
dotnet-version: 6.0.x
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install .NET dependencies
run: dotnet restore
- name: Build GraphQL Node
run: dotnet build --configuration Release --no-restore
- name: Install dependencies
run: yarn global add graphql @graphql-inspector/cli
- name: Build GraphQL Schema
run: |
dotnet restore
dotnet build
dotnet run --project NineChronicles.Headless.Executable -- \
dotnet run --configuration Release --no-restore --no-build --project NineChronicles.Headless.Executable -- \
--graphql-server \
--graphql-port 30000 \
--graphql-host localhost \
Expand All @@ -64,8 +55,8 @@ jobs:
run: cp Docs/resources/landing.html public/index.html
- name: Copy GraphQL Schema to deploy
run: cp schema.graphql public/schema.graphql
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./public

0 comments on commit 4573b5f

Please sign in to comment.