Merge pull request #40 from StructCE/feat-mej #47
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: Continuous Deployment | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
- .gitignore | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.x | |
- name: install retypeapp with dotnet tool | |
run: dotnet tool install retypeapp --global | |
- name: build organizacao interna | |
run: retype build ./organizacao-interna/retype.yml --output ./public/organizacao-interna | |
- name: build ferramentas de ambiente | |
run: retype build ./ferramentas-de-ambiente/retype.yml --output ./public/ferramentas-de-ambiente | |
- name: build stack | |
run: retype build ./stack/retype.yml --output ./public/stack | |
- name: build squads | |
run: retype build ./squads/retype.yml --output ./public/squads | |
- name: setup pages | |
uses: actions/configure-pages@v4 | |
- name: upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: public | |
- name: deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |