diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 559bddf..e2ca051 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -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 @@ -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: @@ -48,4 +51,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v1 \ No newline at end of file diff --git a/README.Rmd b/README.Rmd index 12f6a68..c4e4dee 100644 --- a/README.Rmd +++ b/README.Rmd @@ -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]+"), diff --git a/README.md b/README.md index 8301e64..f86c18e 100644 --- a/README.md +++ b/README.md @@ -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) |