Skip to content

Commit

Permalink
comment out deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmason2-godaddy committed Feb 22, 2024
1 parent d04e456 commit ae80e50
Showing 1 changed file with 51 additions and 51 deletions.
102 changes: 51 additions & 51 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy Docs Site
# # Simple workflow for deploying static content to GitHub Pages
# name: Deploy Docs Site

on:
# Runs on pushes targeting the default branch
push:
branches: [main]
# on:
# # Runs on pushes targeting the default branch
# push:
# branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# # Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
# permissions:
# contents: read
# pages: write
# id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
# # Allow one concurrent deployment
# concurrency:
# group: "pages"
# cancel-in-progress: true

env:
# Hosted GitHub runners have 7 GB of memory available, let's use 6 GB
NODE_OPTIONS: --max-old-space-size=6144
# env:
# # Hosted GitHub runners have 7 GB of memory available, let's use 6 GB
# NODE_OPTIONS: --max-old-space-size=6144

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build Docs
run: npm run docs
- name: Build Docs Site
working-directory: site
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: site/build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# jobs:
# # Single deploy job since we're just deploying
# deploy:
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 20
# cache: npm
# - name: Install dependencies
# run: npm ci
# - name: Build Docs
# run: npm run docs
# - name: Build Docs Site
# working-directory: site
# run: npm run build
# - name: Setup Pages
# uses: actions/configure-pages@v3
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v2
# with:
# path: site/build
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2

0 comments on commit ae80e50

Please sign in to comment.