Skip to content

Deploy

Deploy #1499

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
DeployBlog:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: latest
- run: npm ci
- run: npm test
- run: npm run lint
- run: npm run build
env:
TZ: Europe/London
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
with:
role-to-assume: arn:aws:iam::456604962869:role/DeployCryptick
aws-region: eu-west-2
- name: Deploy blog
run: |
aws s3 sync build/ s3://cryptick.wildvale.co.uk/ \
--delete \
--acl public-read \
--cache-control max-age=3600