diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml new file mode 100644 index 0000000..ca7c0d0 --- /dev/null +++ b/.github/workflows/deploy-github-pages.yml @@ -0,0 +1,21 @@ +--- +name: Deploy GitHub Pages preview +on: + workflow_dispatch: + inputs: + branch: + description: "Branch to deploy" + type: string + required: true + default: main + +permissions: + contents: read + pages: write + id-token: write + +jobs: + preview: + uses: AdobeDocs/commerce-contributor/.github/workflows/github-pages-preview.yml@main + with: + branch: ${{ inputs.branch || github.ref }} diff --git a/.gitignore b/.gitignore index 7b703cd..f697378 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ .history .idea .editorconfig +.cursor # npm yarn node_modules @@ -14,16 +15,6 @@ yarn-error.log .pnp.* .yarn/* -# keep in repo -!.gitignore -!.yarn.lock -!.yarnrc.yml -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions - # gatsby files .env .cache @@ -43,4 +34,7 @@ local-test.yml # yalc .yalc -yalc.lock \ No newline at end of file +yalc.lock + +# local +tmp