Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rdornas authored Nov 7, 2024
1 parent 1d5ee3f commit e6d9f83
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
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 manual_gestor
cp -r manual_gestor/docs/* manual_gestor/
git add manual_gestor
git commit -m "Deploy manual_gestor"
git push origin gh-pages --force
- name: Deploy manual_instituicao
run: |
git checkout gh-pages
mkdir -p manual_instituicao
cp -r manual_instituicao/docs/* manual_instituicao/
git add manual_instituicao
git commit -m "Deploy manual_instituicao"
git push origin gh-pages --force
- name: Deploy manual_responsavel
run: |
git checkout gh-pages
mkdir -p manual_responsavel
cp -r manual_responsavel/docs/* manual_responsavel/
git add manual_responsavel
git commit -m "Deploy manual_responsavel"
git push origin gh-pages --force

0 comments on commit e6d9f83

Please sign in to comment.