Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7f9b118
remove OAuth Playground
shazron May 8, 2025
d9613f7
update scripts
louisachu Apr 30, 2025
ce46936
update fix paths
louisachu May 5, 2025
623dd7a
update scripts and filename
louisachu May 7, 2025
f4ca2fa
Update package.json
louisachu May 8, 2025
5632cea
Adding Parliament manifest file
May 13, 2025
3a01b18
Fix homepage link
May 13, 2025
43f9b97
update scripts
louisachu Jun 24, 2025
5518a4e
remove github pages workflow
louisachu Jun 24, 2025
1e5f2ed
removing jwt related code
theManikJindal Jun 27, 2025
15b852b
updating EOL notice in dev console guides
theManikJindal Jun 27, 2025
e88cfe1
removing all references to JWT
theManikJindal Jun 27, 2025
b6b259a
missed one
theManikJindal Jun 27, 2025
2614876
saving progress
theManikJindal Jul 20, 2025
10ef814
improving the overview guide
theManikJindal Jul 21, 2025
63b99f6
Adding the implementation guide
theManikJindal Jul 21, 2025
1871845
first draft
theManikJindal Jul 21, 2025
c5b8792
copy edit complete
theManikJindal Jul 22, 2025
7b80fe3
adding routes
theManikJindal Jul 22, 2025
edfba6d
minor edits
theManikJindal Jul 22, 2025
8c5ede2
missed one
theManikJindal Jul 22, 2025
9706e9c
Adding links to the left nav
theManikJindal Jul 22, 2025
6e060be
fix for clarity
theManikJindal Jul 22, 2025
7cf1a71
indentation fix
theManikJindal Jul 22, 2025
326601a
some more fixes
theManikJindal Jul 22, 2025
6b6954b
polish
theManikJindal Jul 22, 2025
847bfc8
updating the UML diagram
theManikJindal Jul 28, 2025
adba51f
fix sample codes
sangeetha5491 Jul 31, 2025
a8a58ff
add id token claims
sangeetha5491 Jul 31, 2025
2efeae2
update new build process
louisachu Aug 28, 2025
566262b
add lint.yml
louisachu Aug 28, 2025
d062480
update package json dependencies.
louisachu Aug 28, 2025
9f67971
Update README.md
louisachu Aug 28, 2025
2f4d48f
update readme
louisachu Aug 28, 2025
c161dbd
Update README.md
louisachu Sep 5, 2025
fe73be2
Fixing broken links
theManikJindal Sep 10, 2025
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
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.

98 changes: 0 additions & 98 deletions .github/scripts/process-mds.sh

This file was deleted.

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

This file was deleted.

139 changes: 19 additions & 120 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,129 +12,28 @@ on:
- stage
- prod
- stage & prod
clean:
description: "Clean cache?"
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
required: true
default: "no"
build-navigation:
description: "Build navigation file?"
type: boolean
required: true
default: "false"
build-redirections:
description: "Build redirections file?"
type: boolean
required: true
default: "false"

default: false
jobs:
set-state:
runs-on: ubuntu-latest
outputs:
path_prefix: ${{ steps.get_path_prefix.outputs.path_prefix }}
branch_short_ref: ${{ steps.get_branch.outputs.branch }}
deploy_stage: ${{ contains(inputs.env, 'stage') }}
deploy_prod: ${{ contains(inputs.env, 'prod') }}
clean_cache: ${{ inputs.clean }}
build_navigation: ${{ inputs.build-navigation }}
build_redirections: ${{ inputs.build-redirections }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get path prefix
uses: actions/github-script@v7
id: get_path_prefix
with:
script: |
const script = require('./.github/scripts/get-path-prefix.js');
script({ core, isStage:"${{ contains(inputs.env, 'stage') }}", isProd:"${{ contains(inputs.env, 'prod') }}" });
result-encoding: string

- name: Get branch name
shell: bash
run: echo "branch=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT"
id: get_branch

echo-state:
needs: [set-state]
runs-on: ubuntu-latest
steps:
- run: echo "Deploy to stage - ${{ needs.set-state.outputs.deploy_stage }}"
- run: echo "Deploy to prod - ${{ needs.set-state.outputs.deploy_prod }}"
- run: echo "Clean cache - ${{ needs.set-state.outputs.clean_cache }}"
- run: echo "Build navigation file - ${{ needs.set-state.outputs.build_navigation }}"
- run: echo "Build redirections file - ${{ needs.set-state.outputs.build_redirections }}"
- run: echo "Path prefix - ${{ needs.set-state.outputs.path_prefix }}"
- run: echo "Repository org - ${{ github.event.repository.owner.login }}"
- run: echo "Repository name - ${{ github.event.repository.name }}"
- run: echo "Repository branch - ${{ needs.set-state.outputs.branch_short_ref }}"

build:
defaults:
run:
shell: bash
needs: [set-state]
deployment:
name: Deployment
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
with:
env: ${{ inputs.env }}
baseSha: ${{ inputs.baseSha }}
deployAll: ${{ inputs.deployAll }}
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node v18 for Yarn v3
if: needs.set-state.outputs.build_navigation == 'true' || needs.set-state.outputs.build_redirections == 'true'
uses: actions/setup-node@v4
with:
node-version: "18"

- name: Enable Corepack for Yarn v3
if: needs.set-state.outputs.build_navigation == 'true' || needs.set-state.outputs.build_redirections == 'true'
run: corepack enable

- name: Install Yarn v4
if: needs.set-state.outputs.build_navigation == 'true' || needs.set-state.outputs.build_redirections == 'true'
uses: borales/actions-yarn@v4
with:
cmd: set version stable

- name: Install Dependencies
if: needs.set-state.outputs.build_navigation == 'true' || needs.set-state.outputs.build_redirections == 'true'
uses: borales/actions-yarn@v3
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
with:
cmd: install

- name: Build navigation file
if: needs.set-state.outputs.build_navigation == 'true'
uses: borales/actions-yarn@v3
with:
cmd: buildNavigation

- name: Build redirections file
if: needs.set-state.outputs.build_redirections == 'true'
uses: borales/actions-yarn@v3
with:
cmd: buildRedirections

- name: Clean cache on stage
if: needs.set-state.outputs.clean_cache == 'true' && needs.set-state.outputs.deploy_stage == 'true'
run: |
bash .github/scripts/process-mds.sh cache stage ${{ needs.set-state.outputs.branch_short_ref }} "${{ needs.set-state.outputs.path_prefix }}"

- name: Clean cache on prod
if: needs.set-state.outputs.clean_cache == 'true' && needs.set-state.outputs.deploy_prod == 'true'
run: |
bash .github/scripts/process-mds.sh cache prod ${{ needs.set-state.outputs.branch_short_ref }} "${{ needs.set-state.outputs.path_prefix }}"

- name: Deploy to stage
if: needs.set-state.outputs.deploy_stage == 'true'
run: |
bash .github/scripts/process-mds.sh preview stage ${{ needs.set-state.outputs.branch_short_ref }} "${{ needs.set-state.outputs.path_prefix }}"

- name: Deploy to prod
if: needs.set-state.outputs.deploy_prod == 'true'
run: |
bash .github/scripts/process-mds.sh preview prod ${{ needs.set-state.outputs.branch_short_ref }} "${{ needs.set-state.outputs.path_prefix }}"
bash .github/scripts/process-mds.sh live prod ${{ needs.set-state.outputs.branch_short_ref }} "${{ needs.set-state.outputs.path_prefix }}"
- name: Lint
run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v
Loading