-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ca9f3f
commit 5fe01d4
Showing
6 changed files
with
42 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM ubuntu:18.04 | ||
|
||
# LABEL "com.github.actions.name"="DocFX - Build and publish documentation" | ||
# LABEL "com.github.actions.description"="Builds and publishes documentation to GitHub Pages." | ||
# LABEL "com.github.actions.icon"="code" | ||
# LABEL "com.github.actions.color"="red" | ||
|
||
# LABEL "repository"="https://github.com/emiliano84/Toolkit.Docs" | ||
# LABEL "homepage"="https://emiliano84.github.io/Toolkit.Docs/" | ||
# LABEL "maintainer"="Emil <[email protected]>" | ||
|
||
ADD entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: 'Docfx Build Action' | ||
description: 'Build Docs With DocFx' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,45 @@ | ||
name: DocFx | ||
name: DocFx Clone And Build | ||
# This workflow is triggered on push to the repository. | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
# Job name is DocFx | ||
name: Clone Repos | ||
# This job runs on Linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
- uses: actions/checkout@v1 | ||
# with: | ||
# path: 'ToolkitDocs' | ||
- uses: actions/checkout@v1 | ||
|
||
# Clone | ||
- name: Clone | ||
run: git clone https://emiliano84:${{secrets.GITHUB_TOKEN}}@github.com/emiliano84/Toolkit.git ../Toolkit | ||
|
||
# Hello | ||
- name: Hello | ||
- name: Echo | ||
run: echo ${HOME} ${GITHUB_ACTOR} ${GITHUB_REPOSITORY} ${GITHUB_WORKSPACE} ${GITHUB_SHA} | ||
# ${{secrets.TOKEN}} ${{secrets.GITHUB_TOKEN}} | ||
|
||
# Ls | ||
- name: Ls | ||
run: ls | ||
|
||
# Ls ToolkitDocs | ||
- name: Ls /home/runner/work/Toolkit.Docs | ||
run: ls /home/runner/work/Toolkit.Docs | ||
run: ls /home/runner/work/Toolkit.Docs | ||
|
||
hello_world_job: | ||
docfx_build: | ||
runs-on: ubuntu-latest | ||
name: A job to say hello | ||
name: Docfx Build | ||
steps: | ||
# - uses: ./ # Uses an action in the root directory | ||
- name: Hello world action step | ||
id: hello | ||
uses: emiliano84/Toolkit.Docs/.github/actions/hello-world@master | ||
with: | ||
who-to-greet: 'Mona the Octocat' | ||
# Use the output from the `hello` step | ||
- name: Get the output time | ||
run: echo "The time was ${{ steps.hello.outputs.time }}" | ||
- name: Docfx Build Step | ||
id: docfx_build | ||
uses: emiliano84/Toolkit.Docs/.github/actions/docfx-build@master | ||
|
||
# hello_world_job: | ||
# runs-on: ubuntu-latest | ||
# name: A job to say hello | ||
# steps: | ||
# # - uses: ./ # Uses an action in the root directory | ||
# - name: Hello world action step | ||
# id: hello | ||
# uses: emiliano84/Toolkit.Docs/.github/actions/hello-world@master | ||
# with: | ||
# who-to-greet: 'Mona the Octocat' | ||
# # Use the output from the `hello` step | ||
# - name: Get the output time | ||
# run: echo "The time was ${{ steps.hello.outputs.time }}" |