diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index f8127af..3066e39 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -17,31 +17,31 @@ on: jobs: build: runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install dependencies - run: yarn install - - - name: Build project - run: yarn build - - - name: Store build artifact - uses: actions/upload-artifact@v4 - with: - name: build - path: dist/ - - deploy: - runs-on: ubuntu-latest - - needs: - - build +# +# steps: +# - name: Checkout +# uses: actions/checkout@v4 +# +# - name: Install dependencies +# run: yarn install +# +# - name: Build project +# run: yarn build +# +# - name: Store build artifact +# uses: actions/upload-artifact@v4 +# with: +# name: build +# path: dist/ +# +# deploy: +# runs-on: ubuntu-latest +# +# needs: +# - build environment: - name: "Production" + name: Production url: ${{ vars.PUBLIC_URL }} env: @@ -49,6 +49,10 @@ jobs: CF_DISTRIBUTION_ID: ${{ vars.CF_DISTRIBUTION_ID }} steps: + - name: Debug + run: | + echo '${{ toJSON(vars) }}' + - uses: actions/download-artifact@v4 with: name: build @@ -58,6 +62,7 @@ jobs: with: aws-region: us-east-1 role-to-assume: ${{ vars.IAM_ROLE }} + retry-max-attempts: 2 - name: Deploy run: |