Skip to content

chore: update eleventy #21

chore: update eleventy

chore: update eleventy #21

Workflow file for this run

name: Continuous Delivery
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: build website
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: dist-www
path: dist/www
retention-days: 15
deploy:
needs: build
name: deploy website
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: dist-www
path: www
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::865116139480:role/github-actions-limulus-penumbra
aws-region: us-west-2
- run: aws s3 sync www s3://limulus-net-penumbra --delete --cache-control max-age=60,public