From 1aadf496f78a01eeeb4ba8850f6f9ab6601e0608 Mon Sep 17 00:00:00 2001 From: Sam Welek Date: Tue, 3 Oct 2023 22:15:35 +0100 Subject: [PATCH] Bump CI Action Versions This change bumps Github action versions to remove deprecation warnings --- .github/workflows/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3176a55..9a115f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ jobs: name: Test Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Babel and Jest Modules run: npm install @@ -25,7 +25,7 @@ jobs: needs: [test-build] if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build Jekyll Files run: | @@ -34,7 +34,7 @@ jobs: jekyll/builder:latest /bin/bash -c "chmod a+w /srv/jekyll/Gemfile.lock && chmod 777 /srv/jekyll/src && jekyll build --config _config.yml --future --trace" - name: Archive artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: built-jekyll-files path: _site @@ -47,14 +47,15 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Download built site artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: built-jekyll-files path: _site - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v3 with: + mask-aws-account-id: true aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: eu-west-2