Skip to content

Merge pull request #30 from the-markup/updates #37

Merge pull request #30 from the-markup/updates

Merge pull request #30 from the-markup/updates #37

Workflow file for this run

name: "Auto-Deploy to Staging"
on:
push:
branches:
- main
jobs:
deploy:
name: Upload to Amazon S3
runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS credentials from Test account
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::183122854331:role/github-graphics-staging-upload
aws-region: us-east-1
- uses: actions/setup-node@v2
with:
node-version: "20.15.1"
- run: npm install
- run: npm run deploy -- staging