diff --git a/.github/workflows/check-plugins.yaml b/.github/workflows/check-plugins.yaml index d8adf626a23..1f801e9bf32 100644 --- a/.github/workflows/check-plugins.yaml +++ b/.github/workflows/check-plugins.yaml @@ -1,31 +1,31 @@ -name: check-plugins-build -on: - pull_request: - branches: - - master -env: - TEST_PERSIST_BUILD: true -jobs: - validate: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '16.20.2' - - name: Validate Plugin build system - run: ./shell/scripts/test-plugins-build.sh - shell: bash +# name: check-plugins-build +# on: +# pull_request: +# branches: +# - master +# env: +# TEST_PERSIST_BUILD: true +# jobs: +# validate: +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v4 +# - name: Setup Node.js +# uses: actions/setup-node@v4 +# with: +# node-version: '16.20.2' +# - name: Validate Plugin build system +# run: ./shell/scripts/test-plugins-build.sh +# shell: bash - - name: Upload files - uses: actions/upload-artifact@v3 - if: failure() - with: - name: test - path: | - /tmp/tmp.**/test-app - !/tmp/tmp.**/test-app/node_modules/ - !/tmp/tmp.**/test-app/pkg/test-pkg/node_modules/ - retention-days: 2 \ No newline at end of file +# - name: Upload files +# uses: actions/upload-artifact@v3 +# if: failure() +# with: +# name: test +# path: | +# /tmp/tmp.**/test-app +# !/tmp/tmp.**/test-app/node_modules/ +# !/tmp/tmp.**/test-app/pkg/test-pkg/node_modules/ +# retention-days: 2 \ No newline at end of file diff --git a/.github/workflows/docusaurus.yaml b/.github/workflows/docusaurus.yaml index ae30887fafc..f224572c969 100644 --- a/.github/workflows/docusaurus.yaml +++ b/.github/workflows/docusaurus.yaml @@ -1,54 +1,54 @@ -name: Publish Docusaurus +# name: Publish Docusaurus -on: - push: - branches: - - master - pull_request: - branches: - - master -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v3 - with: - node-version: 16.x - cache: yarn +# on: +# push: +# branches: +# - master +# pull_request: +# branches: +# - master +# jobs: +# build: +# name: Build +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# - uses: actions/setup-node@v3 +# with: +# node-version: 16.x +# cache: yarn - - name: Install dependencies - run: cd docusaurus/ && yarn install:ci - - name: Build website - run: cd docusaurus/ && yarn build - - name: Add CNAME - run: | - echo "extensions.rancher.io" > ./docusaurus/build/CNAME +# - name: Install dependencies +# run: cd docusaurus/ && yarn install:ci +# - name: Build website +# run: cd docusaurus/ && yarn build +# - name: Add CNAME +# run: | +# echo "extensions.rancher.io" > ./docusaurus/build/CNAME - - name: Upload artifact - if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher' }} - uses: actions/upload-pages-artifact@v3 - with: - path: ./docusaurus/build - retention-days: 10 - compression-level: 9 +# - name: Upload artifact +# if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher' }} +# uses: actions/upload-pages-artifact@v3 +# with: +# path: ./docusaurus/build +# retention-days: 10 +# compression-level: 9 - # Seperate the deploy job to isolate write permissions - deploy: - name: Publish - if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher' }} - runs-on: ubuntu-latest - needs: build +# # Seperate the deploy job to isolate write permissions +# deploy: +# name: Publish +# if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher' }} +# runs-on: ubuntu-latest +# needs: build - # This is required to avoid https://github.com/actions/deploy-pages/issues/271 - environment: - name: github-pages +# # This is required to avoid https://github.com/actions/deploy-pages/issues/271 +# environment: +# name: github-pages - permissions: - pages: write - id-token: write +# permissions: +# pages: write +# id-token: write - steps: - - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v4 \ No newline at end of file +# steps: +# - name: Deploy to GitHub Pages +# uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/storybook.yaml b/.github/workflows/storybook.yaml index e790bda4c83..902d6777e80 100644 --- a/.github/workflows/storybook.yaml +++ b/.github/workflows/storybook.yaml @@ -1,27 +1,27 @@ -name: storybook -env: - STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }} -on: - push: - branches: - - master - pull_request: - branches: - - master -jobs: - storybook: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version: '16.20.2' - - name: Install packages - run: yarn install - - name: Build Storybook - run: | - yarn build-storybook - - name: Publish Storybook - if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}} - run: .github/workflows/scripts/publish-storybook +# name: storybook +# env: +# STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }} +# on: +# push: +# branches: +# - master +# pull_request: +# branches: +# - master +# jobs: +# storybook: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - name: Use Node.js +# uses: actions/setup-node@v4 +# with: +# node-version: '16.20.2' +# - name: Install packages +# run: yarn install +# - name: Build Storybook +# run: | +# yarn build-storybook +# - name: Publish Storybook +# if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}} +# run: .github/workflows/scripts/publish-storybook