Fix docs.openra.net documentation workflow.
This commit is contained in:
committed by
Matthias Mailänder
parent
611d12ac78
commit
a7249c10dc
10
.github/workflows/documentation.yml
vendored
10
.github/workflows/documentation.yml
vendored
@@ -60,13 +60,21 @@ jobs:
|
|||||||
if: github.repository == 'openra/openra'
|
if: github.repository == 'openra/openra'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
- name: Clone Repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.inputs.tag }}
|
||||||
|
|
||||||
|
- name: Prepare Environment
|
||||||
|
run: |
|
||||||
|
make all
|
||||||
|
|
||||||
- name: Clone docs.openra.net
|
- name: Clone docs.openra.net
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: openra/docs.git
|
repository: openra/docs.git
|
||||||
token: ${{ secrets.DOCS_TOKEN }}
|
token: ${{ secrets.DOCS_TOKEN }}
|
||||||
path: docs
|
path: docs
|
||||||
ref: ${{ github.event.inputs.tag }}
|
|
||||||
|
|
||||||
- name: Update docs.openra.net (Playtest)
|
- name: Update docs.openra.net (Playtest)
|
||||||
if: startsWith(github.event.inputs.tag, 'playtest-')
|
if: startsWith(github.event.inputs.tag, 'playtest-')
|
||||||
|
|||||||
Reference in New Issue
Block a user