diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml deleted file mode 100644 index b71260b5c9..0000000000 --- a/.github/workflows/preview-deploy.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Preview - -on: - pull_request: - types: [opened, reopened, synchronize, closed] - -jobs: - setup: - # this job requires secrets, which cannot be shared with forks - # so run only from the original repository - if: | - (github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize') && - github.event.pull_request.head.repo.full_name == github.repository && - github.event.pull_request.user.login != 'dependabot[bot]' - uses: Qiskit/gh-actions/.github/workflows/code-engine-preview.yml@main - with: - code_engine_project: qiskit.org-preview - docker_image_name: qiskit-org - docker_image_port: "80" - secrets: - AIRTABLE_ACCESS_TOKEN: ${{ secrets.AIRTABLE_ACCESS_TOKEN }} - ibmcloud_account: ${{ secrets.IBMCLOUD_ACCOUNT }} - ibmcloud_api_key: ${{ secrets.IBMCLOUD_API_KEY }} - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_ANALYTICS_CATEGORY: ${{ secrets.NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_ANALYTICS_CATEGORY }} - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_INSTANCE_ID: ${{ secrets.NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_INSTANCE_ID }} - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_ANALYTICS_KEY: ${{ secrets.NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_ANALYTICS_KEY_STAGING }} - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_ENABLED: "true" - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_PRODUCT_CODE: ${{ secrets.NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_PRODUCT_CODE }} - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_PRODUCT_CODE_TYPE: ${{ secrets.NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_PRODUCT_CODE_TYPE }} - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_PRODUCT_TITLE: ${{ secrets.NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_PRODUCT_TITLE }} - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_SCRIPT_SRC: ${{ secrets.NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_SCRIPT_SRC_STAGING }} - NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_UT30: ${{ secrets.NUXT_PUBLIC_IBM_ANALYTICS_SEGMENT_UT30 }} - - teardown: - # this job requires secrets, which cannot be shared with forks - # so run only from the original repository - if: | - github.event.action == 'closed' && - github.event.pull_request.head.repo.full_name == github.repository && - github.event.pull_request.user.login != 'dependabot[bot]' - uses: Qiskit/gh-actions/.github/workflows/code-engine-cleanup.yml@main - with: - code_engine_project: qiskit.org-preview - docker_image_name: qiskit-org - secrets: - ibmcloud_account: ${{ secrets.IBMCLOUD_ACCOUNT }} - ibmcloud_api_key: ${{ secrets.IBMCLOUD_API_KEY }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b48e1acf4f..cd0483e772 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,6 @@ contributors and maintainers of this site and so, thank you! - [Working on an issue](#working-on-an-issue) - [Adding tests](#adding-tests) - [Pull requests](#pull-requests) - - [Live previews](#live-previews) - [Code review](#code-review) - [Merging](#merging) - [Code style](#code-style) @@ -182,17 +181,6 @@ request is merged. Unfortunately, this does not work when merging pull requests branch. In these occassions, remember to manually close the related pull requests after [merging the pull request](#merging). -### Live previews - -As part of our continuous integration infrastructure, every pull request opened from the head repository that passes -the build process, receives a dedicated deployment running on [IBM Code Engine](https://cloud.ibm.com/codeengine/overview). - -This allows the team to have live branch previews, making it easier to share -links and review changes as necessary. You can preview your working branch at -`https://qiskit-org-pr-..us-south.codeengine.appdomain.cloud/`. - -This means that for forked repositories the pull request will not generate a live preview and that step will be skipped. - ### Code review When you open a PR you will see a template in the pull request body. Please read it carefully and fill in the necessary