Skip to content

fix(deps): update dependency @tailwindcss/vite to v4.0.11 #151

fix(deps): update dependency @tailwindcss/vite to v4.0.11

fix(deps): update dependency @tailwindcss/vite to v4.0.11 #151

Workflow file for this run

name: Build Website
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
with:
node-version: '22.11'
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm i
- name: Build website
run: npm run build
- uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4
if: github.ref == 'refs/heads/main'
with:
aws-region: eu-central-1
role-to-assume: arn:aws:iam::639130800065:role/github-actions-distr.sh
- name: Deploy
if: github.ref == 'refs/heads/main'
run: >-
aws s3 sync dist s3://distr.sh/
--cache-control "max-age=60, public"
--acl=public-read
- name: Invalidate cache
if: github.ref == 'refs/heads/main'
run: >-
aws cloudfront create-invalidation
--distribution-id E1PG5UM7ZE1H97
--invalidation-batch "Paths={Quantity='1' ,Items=['/*']},CallerReference=WEBSITE_$GITHUB_RUN_ID"