diff --git a/.github/workflows/frontend-s3-deploy.yml b/.github/workflows/frontend-s3-deploy.yml index 8a19b5b7b5..441cbcda0a 100644 --- a/.github/workflows/frontend-s3-deploy.yml +++ b/.github/workflows/frontend-s3-deploy.yml @@ -6,19 +6,26 @@ on: - "*" jobs: - deploy: + build: runs-on: ubuntu-latest steps: - - name: Checkout code + - name: Checkout Repository uses: actions/checkout@v2 - name: Set up Node.js uses: actions/setup-node@v2 - - name: Configure AWS credentials + - name: Install dependencies + run: npm install + + - name: Build website + run: npm run build + + - name: Set AWS credentials uses: aws-actions/configure-aws-credentials@v2 with: + aws-access-key-id: ${{ secrets.MY_SECRET_ACCESS_ID_KEY }} aws-secret-access-key: ${{ secrets.MY_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.REGION }}