-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from bcgov/add-pipeline
added dev pipeline
- Loading branch information
Showing
3 changed files
with
67 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build TechDocs with DevHub TechDocs Publish Action | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ dev ] | ||
paths: | ||
- "mkdocs.yml" | ||
- "docs/*" | ||
|
||
jobs: | ||
test_techdocs_build_job: | ||
runs-on: ubuntu-latest | ||
|
||
name: A job to build and publish techdocs content | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build TechDocs | ||
uses: bcgov/devhub-techdocs-publish@stable | ||
id: build_and_publish | ||
with: | ||
publish: 'true' | ||
production: 'false' | ||
bucket_name: ${{ secrets.TECHDOCS_S3_BUCKET_NAME }} | ||
s3_access_key_id: ${{ secrets.TECHDOCS_AWS_ACCESS_KEY_ID }} | ||
s3_secret_access_key: ${{ secrets.TECHDOCS_AWS_SECRET_ACCESS_KEY }} | ||
s3_region: ${{ secrets.TECHDOCS_AWS_REGION }} | ||
s3_endpoint: ${{ secrets.TECHDOCS_AWS_ENDPOINT }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# name: Build TechDocs with DevHub TechDocs Publish Action | ||
|
||
# on: | ||
# workflow_dispatch: | ||
# push: | ||
# branches: [ main ] | ||
# paths: | ||
# - "mkdocs.yml" | ||
# - "docs/*" | ||
|
||
# jobs: | ||
# test_techdocs_build_job: | ||
# runs-on: ubuntu-latest | ||
|
||
# name: A job to build and publish techdocs content | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
# - name: Build TechDocs | ||
# uses: bcgov/devhub-techdocs-publish@stable | ||
# id: build_and_publish | ||
# with: | ||
# publish: 'true' | ||
# production: 'true' | ||
# # production: ${{ github.ref == 'refs/heads/main' && 'true' || 'false' }} # example of only pushing to prod DevHub when changes that triggered the job are in `main` branch | ||
# bucket_name: ${{ secrets.TECHDOCS_S3_BUCKET_NAME }} | ||
# s3_access_key_id: ${{ secrets.TECHDOCS_AWS_ACCESS_KEY_ID }} | ||
# s3_secret_access_key: ${{ secrets.TECHDOCS_AWS_SECRET_ACCESS_KEY }} | ||
# s3_region: ${{ secrets.TECHDOCS_AWS_REGION }} | ||
# s3_endpoint: ${{ secrets.TECHDOCS_AWS_ENDPOINT }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
site_name: BC Government Public Cloud Technical Documentation | ||
docs_dir: docs | ||
# nav: | ||
# - General: | ||
# - Some Menu Item: docs/design-system/about-the-design-system.md | ||
nav: | ||
- Get Started: | ||
- B.C. Government AWS Landing Zone overview: bc-govs-aws-landing-zone-overview.md | ||
- Provision a project set in AWS: provision-a-project-set.md | ||
- Account access: provision-a-project-set.md#account-access | ||
- Design, Build and Deploy an Application: | ||
- Deploy an app to BC Gov's AWS Landing Zone: deploy-an-app-to-the-aws-landing-zone | ||
- AWS IAM User service: iam-user-service.md | ||
plugins: | ||
- techdocs-core |