Skip to content

Merge pull request #228 from sacloud/encryption_algorithm #100

Merge pull request #228 from sacloud/encryption_algorithm

Merge pull request #228 from sacloud/encryption_algorithm #100

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: Build a document with mkdocs - src/terraform
uses: ./.github/actions/mkdocs
with:
working-directory: './src/terraform'
- name: Build a document with mkdocs - src/terraform-v1
uses: ./.github/actions/mkdocs
with:
working-directory: './src/terraform-v1'
- name: Build a document with mkdocs - src/terraform-policy
uses: ./.github/actions/mkdocs
with:
working-directory: './src/terraform-policy'
- name: Build a document with mkdocs - src/top
uses: ./.github/actions/mkdocs
with:
working-directory: './src/top'
- name: Build a document with mkdocs - src/usacloud
uses: ./.github/actions/mkdocs
with:
working-directory: './src/usacloud'
- name: Build a document with mkdocs - src/autoscaler
uses: ./.github/actions/mkdocs
with:
working-directory: './src/autoscaler'
- name: Build a document with mkdocs - src/prometheus
uses: ./.github/actions/mkdocs
with:
working-directory: './src/prometheus'
- run: |
mkdir ./public; cp -r ./src/top/site/* public/
mkdir ./public/terraform; cp -r ./src/terraform/site/* ./public/terraform
mkdir ./public/terraform-v1; cp -r ./src/terraform-v1/site/* ./public/terraform-v1
mkdir ./public/terraform-policy; cp -r ./src/terraform-policy/site/* ./public/terraform-policy
mkdir ./public/usacloud; cp -r ./src/usacloud/site/* ./public/usacloud
mkdir ./public/autoscaler; cp -r ./src/autoscaler/site/* ./public/autoscaler
mkdir ./public/prometheus; cp -r ./src/prometheus/site/* ./public/prometheus
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
cname: docs.usacloud.jp
publish_branch: gh-pages