Skip to content

adapted main page to the tailwindcss #9

adapted main page to the tailwindcss

adapted main page to the tailwindcss #9

Workflow file for this run

name: Deploy to S3
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Install Dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Deploy to S3
run: |
aws --endpoint-url=${{ secrets.ENDPOINT_URL }} s3 rm s3://blog.flagrotown.com/ --recursive
aws --endpoint-url=${{ secrets.ENDPOINT_URL }} s3 cp --recursive ./build/ s3://blog.flagrotown.com/
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}