fix: pipeline
All checks were successful
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 1m5s
All checks were successful
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 1m5s
This commit is contained in:
@@ -12,20 +12,17 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
|
||||
- name: Checkout master
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4 # Updated to latest version
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.12' # Specify your desired version (e.g., 3.10 or 3.12)
|
||||
env:
|
||||
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
|
||||
RUNNER_TOOL_CACHE: /opt/hostedtoolcache
|
||||
|
||||
- name: Install pip3
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install python3-pip -y
|
||||
|
||||
- name: Install Chrome
|
||||
run: |
|
||||
@@ -40,14 +37,13 @@ jobs:
|
||||
|
||||
- name: build site
|
||||
run: |
|
||||
pip3 install mkdocs
|
||||
pip3 install mkdocs-material
|
||||
pip3 install fontawesome_markdown
|
||||
pip3 install mkdocs-redirects
|
||||
python3 -m mkdocs build --clean
|
||||
pip install mkdocs
|
||||
pip install mkdocs-material
|
||||
pip install fontawesome_markdown
|
||||
pip install mkdocs-redirects
|
||||
mkdocs build --clean
|
||||
mkdir site/slides
|
||||
npx @marp-team/marp-cli slides/innovation/innovation.md -o ./site/slides/innovation/index.html
|
||||
npx @marp-team/marp-cli slides/if/if.md -o site/if.pdf --allow-local-files --html=true
|
||||
|
||||
- name: Deploy docs
|
||||
run: surfer put --token ${{ secrets.SURFERKEY }} --server docs.datacontroller.io site/* /
|
||||
|
Reference in New Issue
Block a user