Update deploy.yml #3
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
name: Deploy GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Git user | |
run: | | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
- name: Deploy manual_gestor | |
run: | | |
git checkout -b gh-pages | |
mkdir -p gestor | |
cp -r manual_gestor/docs/* gestor/ | |
git add gestor | |
git commit -m "Deploy manual_gestor" | |
git push origin gh-pages --force | |
- name: Deploy manual_instituicao | |
run: | | |
git checkout gh-pages | |
mkdir -p instituicao | |
cp -r manual_instituicao/docs/* instituicao/ | |
git add instituicao | |
git commit -m "Deploy manual_instituicao" | |
git push origin gh-pages --force | |
- name: Deploy manual_responsavel | |
run: | | |
git checkout gh-pages | |
mkdir -p responsavel | |
cp -r manual_responsavel/docs/* responsavel/ | |
git add responsavel | |
git commit -m "Deploy manual_responsavel" | |
git push origin gh-pages --force |