Skip to content

Commit

Permalink
Chapter 1
Browse files Browse the repository at this point in the history
  • Loading branch information
mattburgess committed Sep 19, 2023
1 parent f7a5bf9 commit a27ab47
Show file tree
Hide file tree
Showing 20 changed files with 1,265 additions and 55 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy
on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write # To push a branch
pages: write # To push to a GitHub Pages site
id-token: write # To update the deployment status
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: taiki-e/install-action@v2
with:
tool: [email protected],[email protected],[email protected]
- name: Build Book
run: |
mdbook build
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: "book"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
35 changes: 1 addition & 34 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,34 +1 @@
# Local .terraform directories
**/.terraform/*

# .tfstate files
*.tfstate
*.tfstate.*

# Crash log files
crash.log
crash.*.log

# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*

# Ignore CLI configuration files
.terraformrc
terraform.rc
book
439 changes: 418 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[book]
authors = ["Matt Burgess"]
language = "en"
multilingual = false
src = "src"
title = "Terraform Cloud Path to Production Guide"

[preprocessor]

[preprocessor.admonish]
command = "mdbook-admonish"
assets_version = "2.0.2" # do not edit: managed by `mdbook-admonish install`

[output]

[output.html]
additional-css = ["./mdbook-admonish.css"]
Loading

0 comments on commit a27ab47

Please sign in to comment.