Skip to content

initial release commit #1

initial release commit

initial release commit #1

Workflow file for this run

name: Build & Deploy production
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout repository
uses: actions/checkout@v4
- name: ⚙️ Configure build env
uses: actions/setup-node@v3
with:
node-version: 18
- name: 🛠️ Build platform
run: |
npm ci
npm run build
- name: ⚙️ Configure AWS credentials
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 }}
aws-region: eu-west-1

Check failure on line 27 in .github/workflows/deploy-main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-main.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
- name: 🚀 Deploy AWS S3
run: |
aws s3 sync public ${{ AWS_S3_BUCKET_URL }}
aws cloudfront create-invalidation --distribution-id ${{ CF_DISTRIBUTION_ID }} --paths "/*"