Skip to content

fix(deps): update dependency semver to v7.6.3 #1226

fix(deps): update dependency semver to v7.6.3

fix(deps): update dependency semver to v7.6.3 #1226

name: Documentation Deploy
on:
push:
branches:
- main
jobs:
deploy:
if: github.event.commits[1] != null || ( !startsWith(github.event.commits[0].message, 'chore(deps):') && !startsWith(github.event.commits[0].message, 'fix(deps):') )
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
with:
python-version: 3.x
- name: Install mkdocs-material
run: pip install mkdocs-material
- name: Build documentation
run: |
cd packages/documentation
.scripts/build.sh
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
aws-region: eu-west-1
role-to-assume: arn:aws:iam::022327457572:role/kitten-science-us0-maintainer
role-session-name: GitHubActions
- name: Deploy to S3
run: |
aws s3 sync ./packages/documentation/public/ s3://kitten-science-us0/ \
--cache-control "public, s-maxage=3600, maxage=3600"