-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converting travis page builder to GitHub Actions.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
- Loading branch information
Showing
7 changed files
with
65 additions
and
33 deletions.
There are no files selected for viewing
File renamed without changes.
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
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
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,2 +1,3 @@ | ||
markdown | ||
pygments | ||
pyyaml |
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
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,42 @@ | ||
name: Build GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
#env: | ||
# global: | ||
# - GIT_COMMITTER_NAME="SymbiYosys Travis Bot" | ||
# - GIT_COMMITTER_EMAIL="nobody@nowhere.com" | ||
|
||
jobs: | ||
|
||
Build-GitHub-Pages: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Save SSH key | ||
run: ./.github/scripts/save-key.sh | ||
env: | ||
GH_KEY: ${{ secrets.GH_KEY }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
cache: 'pip' | ||
|
||
- name: Install Python Dependencies | ||
run: pip install -r ./.github/scripts/requirements.txt | ||
|
||
- name: Generate HTML pages | ||
run: ./.github/scripts/generate-html.sh | ||
|
||
- name: Push to gh-pages branch | ||
run: if [ -e ~/.ssh/agent.sh ]; then source ~/.ssh/agent.sh; ./.github/scripts/push-html.sh; fi |
This file was deleted.
Oops, something went wrong.