From a5222fb4aefc25533a60ff3b5bf2f74f867ef98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Grodziski?= Date: Wed, 17 Jan 2024 11:45:16 +0100 Subject: [PATCH] Update jekyll-build-push-S3-v2.yml --- .github/workflows/jekyll-build-push-S3-v2.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jekyll-build-push-S3-v2.yml b/.github/workflows/jekyll-build-push-S3-v2.yml index bef4a6d..c980d3d 100644 --- a/.github/workflows/jekyll-build-push-S3-v2.yml +++ b/.github/workflows/jekyll-build-push-S3-v2.yml @@ -4,7 +4,7 @@ # documentation. # Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll site to S3 +name: Build and Deploy Jekyll site to S3 V2 on: # Runs on pushes targeting the default branch @@ -73,13 +73,14 @@ jobs: source_dir: 'landing/dist' destination_dir: '' - name: Fix permissions + working-directory: ./landing run: | - chmod -c -R +rX "landing/dist/" | while read line; do + chmod -c -R +rX "dist/" | while read line; do echo "::warning title=Invalid file permissions automatically fixed::$line" done - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - name: landing - path: ./landing/dist/* + name: github-pages + path: landing/dist/*