Merge pull request #1667 from morpho-org/docs/implement-optimizers-na… #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Autogenerated documentation | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
contents: read # This is required for actions/checkout | |
jobs: | |
forge-docs: | |
runs-on: ubuntu-latest | |
environment: | |
name: docs | |
url: https://developers.morpho.xyz | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Generate & upload forge docs | |
uses: morpho-labs/[email protected] | |
with: | |
aws-s3-bucket: ${{ secrets.AWS_S3_BUCKET }} | |
aws-cloudfront-distribution-id: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }} | |
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | |
role-session-name: ${{ vars.AWS_SESSION_NAME }} | |
aws-region: ${{ secrets.AWS_REGION }} | |
s3-acl: private |