Skip to content

Commit

Permalink
Try to fix more CI stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoVIII committed Sep 12, 2020
1 parent 3aa9da5 commit 972a3e6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: Release docs

on:
push:
tags:
- 'v*.*.*'
- '!v*.*.*-*'

jobs:
build:
strategy:
matrix:
os: [windows-latest]
dotnet: [3.1.201]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
- name: Restore tools
run: dotnet tool restore
- name: Restore dependencies
run: dotnet restore
- name: Run Fornax
run: dotnet fake build -t Docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./docs/_public
publish_branch: gh-pages
force_orphan: true
name: Release docs

on:
push:
tags:
- 'v*.*.*'
- '!v*.*.*-*'

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
dotnet: [3.1.302]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Restore tools
run: dotnet tool restore
- name: Restore dependencies
run: dotnet restore
- name: Run Fornax
run: dotnet fake build -t Docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./docs/_public
publish_branch: gh-pages
force_orphan: true
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:

strategy:
matrix:
os: [windows-latest]
dotnet: [3.1.201]
os: [ubuntu-latest]
dotnet: [3.1.302]
runs-on: ${{ matrix.os }}

steps:
Expand Down

0 comments on commit 972a3e6

Please sign in to comment.