Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
mateus2k2 committed Jun 23, 2024
1 parent 2b2cceb commit 5578f65
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,14 @@ jobs:
fetch-depth: 0

- name: Build PT docs
uses: ./
with:
entrypoint: mkdocs
args: build --config-file=mkdocs.pt.yml
run: ./<path-to-mkdocs> build --config-file=mkdocs.pt.yml

- name: Build EN docs
uses: ./
with:
entrypoint: mkdocs
args: build --config-file=mkdocs.en.yml
run: ./<path-to-mkdocs> build --config-file=mkdocs.en.yml

# - name: Copy redirect index page
# run: cp docs/index.html site/index.html

- uses: actions/setup-python@v4
with:
python-version: 3.11
# Copy blog/index.html to the root of site directory
- name: Copy blog/index.html
run: cp blog/index.html site/index.html

- name: Deploy docs to gh-pages branch
uses: peaceiris/actions-gh-pages@v3
Expand All @@ -52,6 +43,4 @@ jobs:

- run: pip install mike --force-reinstall --verbose

# - run: mike deploy --push --update-aliases 1.0 latest --ignore

# - run: mkdocs gh-deploy --force
# Additional steps as needed for deployment

0 comments on commit 5578f65

Please sign in to comment.