Add some documentation about the documentation #32
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: Publish to developers.betternow.org | |
on: [push] | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build: | |
name: Build and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Ruby and install gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
env: | |
BUNDLE_CACHE_PATH: "vendor/cache" | |
- name: Build site | |
run: | | |
bin/build | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
role-to-assume: arn:aws:iam::357932486739:role/developer-docs-deployer | |
role-session-name: deploydeveloperdocs | |
aws-region: eu-west-1 | |
- name: Deploy the site | |
run: | | |
bin/deploy |