diff --git a/.github/workflows/publish-content-push-main.yml b/.github/workflows/publish-content-push-main.yml index fb56dad66..09b94a362 100644 --- a/.github/workflows/publish-content-push-main.yml +++ b/.github/workflows/publish-content-push-main.yml @@ -45,13 +45,13 @@ jobs: do (cd $directory && tree -H '.' -L 1 --noreport --charset utf-8 | sed '/

/,/<\/p>/d' > index.html) done - # Make meta.yaml as index - for file in $(find content -name 'meta.yaml' -type f) + # Make devfile.yaml as index + for file in $(find content -name 'devfile.yaml' -type f) do PARENT_DIR=$(dirname $file); - cp ${PARENT_DIR}/meta.yaml ${PARENT_DIR}/index.html + cp ${PARENT_DIR}/devfile.yaml ${PARENT_DIR}/index.html done - export DEPLOY_DOMAIN=https://che-plugin-registry-main.surge.sh + export DEPLOY_DOMAIN=https://che-plugin-registry.surge.sh echo "DEPLOY_DOMAIN=$DEPLOY_DOMAIN" >> $GITHUB_ENV surge ./content --domain $DEPLOY_DOMAIN - name: Publish to gh-pages diff --git a/.github/workflows/publish-pr-check-content.yml b/.github/workflows/publish-pr-check-content.yml index d69e96cef..aae12d0ea 100644 --- a/.github/workflows/publish-pr-check-content.yml +++ b/.github/workflows/publish-pr-check-content.yml @@ -66,11 +66,11 @@ jobs: do (cd $directory && tree -H '.' -L 1 --noreport --charset utf-8 | sed '/

/,/<\/p>/d' > index.html) done - # Make meta.yaml as index - for file in $(find unpacked -name 'meta.yaml' -type f) + # Make devfile.yaml as index + for file in $(find unpacked -name 'devfile.yaml' -type f) do PARENT_DIR=$(dirname $file); - cp ${PARENT_DIR}/meta.yaml ${PARENT_DIR}/index.html + cp ${PARENT_DIR}/devfile.yaml ${PARENT_DIR}/index.html done export DEPLOY_DOMAIN=https://pr-check-${PR_NUMBER}-che-plugin-registry.surge.sh echo "DEPLOY_DOMAIN=$DEPLOY_DOMAIN" >> $GITHUB_ENV diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index 3c51dc751..a944908a5 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -143,7 +143,7 @@ The job names are `surge`. Clicking on `Details` in the GitHub PR view will take For example, build of PR 805 would be hosted at: https://pr-check-805-che-plugin-registry.surge.sh/ ### Next -A next build of the plugin registry is published on both [surge.sh](https://che-plugin-registry-main.surge.sh/), and [GitHub Pages](https://eclipse-che.github.io/che-plugin-registry/main/). Both are updated upon every commit merged to the main branch. +A next build of the plugin registry is published on both [surge.sh](https://che-plugin-registry.surge.sh/), and [GitHub Pages](https://eclipse-che.github.io/che-plugin-registry/main/). Both are updated upon every commit merged to the main branch. ### Versioned Releases Versioned releases of the che-plugin-registry are also published to GitHub Pages. The version of the release is name of the last folder in the URL.