generated from Consensys/doc.ethsigner
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
10 changed files
with
43 additions
and
51 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 @@ | ||
############################################### | ||
# Project environment variables # | ||
# Uncomment the line to use and set the value # | ||
############################################### | ||
|
||
## Docker compose variables | ||
#DOCTOOLS_IMAGE_VERSION # Docker compose image. Default to 'latest'. | ||
|
||
## MkDocs variables | ||
#DEBUG=true # uncomment to output debug infos in HTML source code. Requires MINIFY=false | ||
#VERSION=1.2.3 # uncomment to force a version number on your local preview | ||
#LANGUAGE # Two letters language code. Default language is 'en' | ||
#PREBUILD_INDEX=false # uncomment to speedup your preview build (will slow down searches) | ||
#MINIFY=false # uncomment to prevent HTML/CSS/JS code to be minified. Useful for debug. |
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
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,30 +1,25 @@ | ||
--- | ||
name: Publish PR preview | ||
|
||
# Controls when the action will run. | ||
on: [ pull_request_target ] | ||
|
||
jobs: | ||
deploy: | ||
name: Build and publish PR preview | ||
runs-on: ubuntu-latest | ||
environment: preview | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: checkout code from repos | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: refs/pull/${{ github.event.number }}/merge # required to pull the PR code instead of the main one | ||
fetch-depth: 0 # Required for mkdocs to be able to display pages last update info | ||
|
||
- name: set environment vars from .env file | ||
uses: c-py/action-dotenv-to-setenv@a6380f4d905f42adb7c065db63e6d66d75b971ad #v3 | ||
with: | ||
env-file: '.env' | ||
|
||
- name: Set non empty LANGUAGE env | ||
shell: sh | ||
run: echo "LANGUAGE=${LANGUAGE:-en}" >> $GITHUB_ENV | ||
|
||
- name: Build and publish PR preview | ||
uses: ConsenSys/doctools.action-builder/actions/pr-preview-publish@main | ||
with: | ||
LANGUAGE: ${{ env.LANGUAGE }} | ||
LANGUAGE: 'en' # we do not have any other languages for the moment, will update when needed |
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ common/ | |
.doctools.action-builder | ||
docker-compose.dev.yml | ||
.env.dev | ||
.env | ||
__pycache__ | ||
/.run/ | ||
*.log |