diff --git a/app/content/posts/gha-notes/index.md b/app/content/posts/gha-notes/index.md deleted file mode 100644 index 75c5545..0000000 --- a/app/content/posts/gha-notes/index.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: "The basics of Github Actions" -date: 2030-01-22T22:00:00-03:00 -slug: gha-notes -category: github-actions -description: "A summary of Github Actions" -draft: false ---- - -# Notes about Github Actions - -This is a summary about the main features of Github Actions and a way to speep up its use when necessary. I'll go over the features, with examples, that are most used in any pipeline and provide links to the documentation if a deep dive is necessary. This will probably be enough for most pipelines. - -## GitHub Actions - -[**GitHub actions**](https://docs.github.com/en/actions/quickstart) is an automation service that allows us to automate all kinds of repository related processes and actions. Using GitHub Actions we provide GitHub with a *yml* file describing our *workflow* in *steps*, and it will run the workflow based on an *event* that can be a *push*. This way everytime we make a push to the repository it will run the actions described in the yml file with our repository. This is perfect to build **CI/CD** pipelines. - -## Basic components -### Workflows -### Jobs -### Steps -### Actions -### Runner - -## Events -### Filters -### Activity types - -## Context objects - -## Uploading and downloading artifacts - -## Caching - -## Environmental variables - -## Secrets - -## Conditional workflows - diff --git a/infra/cloudfront.tf b/infra/cloudfront.tf index f0f3170..57647d1 100644 --- a/infra/cloudfront.tf +++ b/infra/cloudfront.tf @@ -53,7 +53,7 @@ resource "aws_cloudfront_distribution" "s3_distribution" { } } - viewer_protocol_policy = "allow-all" + viewer_protocol_policy = "redirect-to-https" min_ttl = 0 default_ttl = 3600 max_ttl = 86400