From 0ee728618805fd1809ac93a7b8c5be8f3039b5fa Mon Sep 17 00:00:00 2001 From: Diego Smania Date: Fri, 10 Nov 2023 19:57:14 -0300 Subject: [PATCH] Update upload-pages-artifact in build and publish workflow --- .github/workflows/build_and_publish.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 038e1d1..b9a52e3 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -16,7 +16,7 @@ on: # parallel jobs: - # Job to build the LateX files + # Job for building the LateX files build: # The type of runner that the job will run on @@ -37,13 +37,15 @@ jobs: with: root_file: curriculum_vitae.tex - # Build the Github page - - name: Build Github page + # Prepare the Github Pages content + - name: Prepare Github page run: mv curriculum_vitae.pdf website/Diego_Smania_CV_English.pdf - # TODO: Check what this actions does - - name: Upload GitHub Pages artifact - uses: actions/upload-pages-artifact@v1.0.3 + # Package and upload an artifact for deployment into Github Pages. + - name: Upload Github Pages artifact + uses: actions/upload-pages-artifact@v2 + with: + path: website # Deploy to Github pages deploy: