Skip to content

0.22.0

0.22.0 #26

Workflow file for this run

---
name: release
on:
push:
tags: ['v*']
permissions:
id-token: write
contents: read
defaults:
run:
shell: bash
jobs:
release:
runs-on: ['hyperenv', 'medium']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::730350136264:role/github-openid-connect
role-session-name: github-actions-marbot
aws-region: eu-central-1
- run: 'npm install'
- run: 'aws cloudformation package --template-file mastodon.yaml --s3-bucket mastodon-on-aws-cloudformation --output-template-file quickstart.yml'
- run: 'aws s3 cp quickstart.yml s3://mastodon-on-aws-cloudformation/${GITHUB_REF_NAME}/quickstart.yml'
- run: 'aws s3 cp quickstart.yml s3://mastodon-on-aws-cloudformation/latest/quickstart.yml'