Skip to content

Commit

Permalink
ci: Try to upload to KS website
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Nov 23, 2023
1 parent 88794c3 commit ae92e59
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
contents: read
id-token: write

runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Select NodeJS version
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/schema-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update Release Info

on:
push:
branches:
- main
paths:
- ".github/workflows/schema-update.yml"
- "packages/action-schema-update/*"
workflow_dispatch:

concurrency: schema-update

jobs:
release-info:
permissions:
contents: read
id-token: write

runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
with:
aws-region: eu-west-1
role-to-assume: ks-website-maintainer
role-session-name: GitHubActions

- name: Deploy to S3
run: |
aws s3 cp LICENSE s3://kitten-science-website

0 comments on commit ae92e59

Please sign in to comment.