diff --git a/.github/workflows/backend-deploy.yml b/.github/workflows/backend-deploy.yml index 6960b2b..a49efd4 100644 --- a/.github/workflows/backend-deploy.yml +++ b/.github/workflows/backend-deploy.yml @@ -9,6 +9,8 @@ on: jobs: deploy: name: Deploy + environment: + name: github-pages runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: @@ -17,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/frontend-deploy.yml b/.github/workflows/frontend-deploy.yml index f755881..18cb8be 100644 --- a/.github/workflows/frontend-deploy.yml +++ b/.github/workflows/frontend-deploy.yml @@ -1,8 +1,4 @@ -# Sample workflow for building and deploying a Next.js site to GitHub Pages -# -# To get started with Next.js see: https://nextjs.org/docs/getting-started -# -name: Deploy Next.js site to Pages +name: DeployFrontend on: workflow_run: