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/.markdown-lint.yml

This file was deleted.

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

This file was deleted.

49 changes: 0 additions & 49 deletions .github/scripts/get-path-prefix.js

This file was deleted.

6 changes: 0 additions & 6 deletions .github/super-linter.env

This file was deleted.

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: "prod"
options:
- "prod"
- "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 }}
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# npm yarn
node_modules
package.lock
package-lock.json
yarn-error.log
.pnp.*
.yarn/*
Expand Down Expand Up @@ -43,4 +43,10 @@ local-test.yml

# yalc
.yalc
yalc.lock
yalc.lock

# json files
adp-site-metadata.json

#.txt
linter-report.txt
Loading
Loading