Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/dependabot.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/linters/.markdownlint.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/linters/.yaml-lint.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/build-site-metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Build Site Metadata
on:
pull_request:
workflow_dispatch:

jobs:
build-site-metadata:
name: Build Site Metadata
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/build-site-metadata.yml@main
44 changes: 20 additions & 24 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
---
name: Deployment
on:
push:
branches:
- main
workflow_dispatch:
inputs:
env:
description: "Deploy to (dev|prod|dev prod)"
required: true
default: "dev"
clean:
description: "Clean cache"
description: "Select environment to deploy to"
type: choice
required: true
type: boolean
default: false
excludeSubfolder:
description: "Exclude a subfolder from deletion"
default: "stage"
options:
- "stage"
- "stage & prod"
baseSha:
description: "Use base SHA commit to deploy from (empty string defaults to last commit before HEAD)"
type: string
required: false
default: ""
index-mode:
description: 'Type of indexing. "index" to push to Algolia, "console" for dry run.'
required: true
default: "index"
type: choice
options:
- console
- index
deployAll:
description: "Force deploy all files"
type: boolean
default: false
jobs:
deployment:
name: Deployment
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/gatsby-deploy.yml@main
secrets: inherit
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
with:
env: ${{ inputs.env }}
clean: ${{ inputs.clean }}
excludeSubfolder: ${{ inputs.excludeSubfolder }}
index-mode: ${{ inputs.index-mode }}
NODE_OPTIONS: "--max-old-space-size=8192"
env: ${{ inputs.env || 'prod' }}
baseSha: ${{ inputs.baseSha || '' }}
deployAll: ${{ inputs.deployAll || false }}
40 changes: 0 additions & 40 deletions .github/workflows/github-pages.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Lint
on:
pull_request:
branches: [main]
paths:
- 'src/pages/**'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Lint
run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v
22 changes: 22 additions & 0 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Staging
on:
workflow_dispatch:
inputs:
baseSha:
description: "Use base SHA commit to deploy from (empty string defaults to last commit before HEAD)"
type: string
required: false
default: ""
deployAll:
description: "Force deploy all files"
type: boolean
default: false
jobs:
deployment:
name: Deployment
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
with:
env: stage
baseSha: ${{ inputs.baseSha }}
deployAll: ${{ inputs.deployAll }}
51 changes: 0 additions & 51 deletions .markdownlint.yml

This file was deleted.

Loading
Loading