Skip to content

fix and redirect

fix and redirect #192

Workflow file for this run

name: Publish
on:
push:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '19.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- name: Configure AWS credentials via OIDC
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: eu-central-1
- name: build
run: yarn build
- name: Upload to S3 (depay-documentation)
run: aws s3 cp build s3://depay-documentation/docs/ --recursive