Skip to content

Commit

Permalink
edit deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrecenti committed Oct 24, 2023
1 parent 0e2d169 commit 9cebe05
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ on:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
repository-projects: read
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: false
cancel-in-progress: true

jobs:
# Build job
Expand All @@ -28,15 +28,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PAGES_PAT }}
submodules: true
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v2
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v1

# Deployment job
deploy:
Expand All @@ -48,4 +51,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v1
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fs::dir_ls("materiais/slides", glob = "*.html") |>
tibble::enframe() |>
dplyr::filter(
stringr::str_detect(name, "a[0-9]{2}|a_"),
!stringr::str_detect(name, "a_00")
!stringr::str_detect(name, "a00")
) |>
dplyr::transmute(
aula = stringr::str_extract(value, "(?<=_)[a-z_A-Z]+"),
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ quantitativa, com aplicações em temas do Direito.

| aula | slide |
| :--------------------- | :---------------------------------------------------------------------------------------------------------- |
| introducao | [introducao](https://abjur.github.io/202310-ipj/materiais/slides/a00_introducao.html) |
| operacionalizacao | [operacionalizacao](https://abjur.github.io/202310-ipj/materiais/slides/a01_operacionalizacao.html) |
| escopo | [escopo](https://abjur.github.io/202310-ipj/materiais/slides/a02_escopo.html) |
| tipos\_variaveis | [tipos\_variaveis](https://abjur.github.io/202310-ipj/materiais/slides/a03_tipos_variaveis.html) |
Expand Down

0 comments on commit 9cebe05

Please sign in to comment.