Skip to content

manutenção do site #170

manutenção do site

manutenção do site #170

Workflow file for this run

name: deploy documentação
run-name: manutenção do site
on:
push:
branches: main
jobs:
Deploy-Mkdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: setup python
uses: actions/[email protected]
- name: install mkdocs
run: |
pip install mkdocs
pip install mkdocs-material
- name: build mkdocs
run: mkdocs build
working-directory: docs
- uses: actions/upload-artifact@v2
with:
name: docs
path: ./docs/site/
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
with:
repository: rucula-js/rucula-js.github.io
persist-credentials: false
token: ${{ secrets.PASS_RUC_DOC }}
- uses: actions/download-artifact@v2
with:
name: docs
- run: |
git config --global user.email "[email protected]"
git config --global user.name "automatic-action"
git remote set-url origin https://${{ secrets.USER }}:${{ secrets.PASS_RUC_DOC }}@github.com/rucula-js/rucula-js.github.io.git
git add .
git commit -m "automatic actions"
git push