Skip to content

Commit a40a5a7

Browse files
authored
Merge pull request #435 from AdobeDocs/eds-migration-new
Eds migration new
2 parents 9ecaa99 + 5abf628 commit a40a5a7

499 files changed

Lines changed: 3140 additions & 30728 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/CONTRIBUTING.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,3 @@ feel free to reach out to existing committers to have a conversation about that.
4545
## Security Issues
4646

4747
Security issues shouldn't be reported on this issue tracker. Instead, [file an issue to our security experts](https://helpx.adobe.com/security/alertus.html).
48-
49-
## Site preview from a fork
50-
51-
You can build and deploy changes from your branch to a test website using GitHub Pages.
52-
You must enable Actions in your forked repo settings and configure Pages to deploy from the **root** folder of the **gh-pages** branch.
53-
54-
To build and deploy your branch:
55-
56-
1. Click the **Actions** tab in your forked repo.
57-
1. In the left navigation menu, click the **GitHub Pages** workflow.
58-
1. In the upper-right of the page, click **Run workflow**.
59-
- Select the branch you want to preview as a website.
60-
- Click **Run workflow**.
61-
When the workflow run is finished, **Github Pages** will be marked with a green check mark. To identify the URL of the generated website, click **GitHub Pages** > **build-and-deploy** > **GH Pages URL**.

.github/dependabot.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1+
# `dependabot.yml` file with
2+
# assignee for all npm pull requests
3+
14
version: 2
25
updates:
3-
# Enable version updates for npm
6+
# Keep npm dependencies up to date
47
- package-ecosystem: "npm"
5-
# Look for `package.json` and `lock` files in the `root` directory
68
directory: "/"
7-
# Check the npm registry for updates every day (weekdays)
89
schedule:
9-
interval: "daily"
10-
allow:
11-
- dependency-name: "@adobe/gatsby-theme-aio"
12-
versioning-strategy: increase
13-
open-pull-requests-limit: 25
14-
labels:
15-
- "dependencies"
16-
ignore:
17-
# Ignore updates to package
18-
- dependency-name: "gatsby"
10+
interval: "weekly"
11+
# Raise all npm pull requests with assignees
12+
assignees:
13+
- "dshevtsov"

.github/scripts/get-path-prefix.js

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/super-linter.env

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
##### Aggregate Commerce PRs and Issues into a respective Organizational Project #####
2-
# Security Note: Uses pull_request_target to allow fork PRs to be added to projects
3-
# This is safe because we only add PRs to projects, no code execution from PRs
42

53
name: Add pull requests and issues to projects
64

@@ -12,13 +10,7 @@ on:
1210
types:
1311
- opened
1412

15-
# Security: Limit permissions to only what's needed
16-
permissions:
17-
pull-requests: write
18-
issues: write
19-
contents: read
20-
2113
jobs:
2214
call-workflow-add-to-project:
23-
uses: ./.github/workflows/add-to-project_job.yml
15+
uses: AdobeDocs/commerce-contributor/.github/workflows/add-to-project_job.yml@main
2416
secrets: inherit
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Build Site Metadata
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build-site-metadata:
9+
name: Build Site Metadata
10+
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/build-site-metadata.yml@main
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Deploy GitHub Pages preview
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
pages: write
9+
id-token: write
10+
11+
jobs:
12+
preview:
13+
uses: AdobeDocs/commerce-contributor/.github/workflows/github-pages-preview.yml@main
14+
with:
15+
branch: ${{ github.ref_name }}

.github/workflows/deploy.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Deployment
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
inputs:
9+
env:
10+
description: "Select environment to deploy to"
11+
type: choice
12+
required: true
13+
default: "prod"
14+
options:
15+
- "prod"
16+
- "stage & prod"
17+
baseSha:
18+
description: "Use base SHA commit to deploy from (empty string defaults to last commit before HEAD)"
19+
type: string
20+
required: false
21+
default: ""
22+
deployAll:
23+
description: "Force deploy all files"
24+
type: boolean
25+
default: false
26+
jobs:
27+
deployment:
28+
name: Deployment
29+
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
30+
with:
31+
env: ${{ inputs.env || 'prod' }}
32+
baseSha: ${{ inputs.baseSha || '' }}
33+
deployAll: ${{ inputs.deployAll || false }}

.github/workflows/github-pages.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)