Skip to content

Commit

Permalink
Upload rendered site to object storage, 3
Browse files Browse the repository at this point in the history
  • Loading branch information
nmelehan committed Mar 20, 2024
1 parent 7b201fb commit 8697886
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-production-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ on:
#       └── linode_algolia_admin

jobs:
deploy-to-production:
build-production-site:
if: github.repository_owner == 'linode'
runs-on: ubuntu-latest

environment:
name: deploy_to_production
name: build_production_site
url: ${{ vars.DOCS_WEBSITE_URL }}

steps:
Expand Down Expand Up @@ -208,7 +208,8 @@ jobs:
hugo config
hugo -b "${{ vars.DOCS_WEBSITE_URL }}" --gc --minify -d public
# The gitcommithash.txt file is used in the last workflow step to verify that the deployment was successful
# The gitcommithash.txt file is used when the site is deployed to the
# webserver to verify that the deployment was successful.
- name: 13. Add gitcommithash.txt to rendered public/ folder
working-directory: ./docs-repo
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-staging-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ on:
#       └── linode_algolia_admin

jobs:
deploy-to-main-staging-server:
build-staging-site:
if: github.repository_owner == 'linode'
runs-on: ubuntu-latest

environment:
name: deploy_to_main_staging_server
name: build_staging_site

steps:
- name: 1. Set up Hugo
Expand Down Expand Up @@ -212,7 +212,8 @@ jobs:
hugo config
hugo -b "${{ secrets.DOCS_WEBSITE_URL }}" --gc --minify -d public
# The gitcommithash.txt file is used in the last workflow step to verify that the deployment was successful
# The gitcommithash.txt file is used when the site is deployed to the
# webserver to verify that the deployment was successful.
- name: 13. Add gitcommithash.txt to rendered public/ folder
working-directory: ./docs-repo
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-testing-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ on:
#       └── linode_algolia_admin

jobs:
deploy-to-feature-testing-server:
build-testing-site:
if: github.repository_owner == 'linode'
runs-on: ubuntu-latest

environment:
name: deploy_to_feature_testing_server
name: build_testing_site

steps:
- name: 1. Set up Hugo
Expand Down Expand Up @@ -213,7 +213,8 @@ jobs:
hugo config
hugo -b "${{ secrets.DOCS_WEBSITE_URL }}" --gc --minify -d public
# The gitcommithash.txt file is used in the last workflow step to verify that the deployment was successful
# The gitcommithash.txt file is used when the site is deployed to the
# webserver to verify that the deployment was successful.
- name: 13. Add gitcommithash.txt to rendered public/ folder
working-directory: ./docs-repo
run: |
Expand Down

0 comments on commit 8697886

Please sign in to comment.