diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index e9341f85..532d2e40 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -14,12 +14,14 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + run: | + git clone ${{ github.repository_url }} . + git checkout ${{ github.sha }} - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: "18" + run: | + curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - + sudo apt-get install -y nodejs - name: Install dependencies for the whole workspace run: | @@ -30,8 +32,8 @@ jobs: npm run build --workspaces - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - personal_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: website/out - publish_branch: gh-pages + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + npm install -g gh-pages + gh-pages -d website/out -b gh-pages diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 532d2e40..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Deploy Website to GitHub Pages - -on: - push: - branches: - - v5/build-next-proj - paths: - - "reactgrid/**" - - "website/**" - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - run: | - git clone ${{ github.repository_url }} . - git checkout ${{ github.sha }} - - - name: Setup Node.js - run: | - curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - - sudo apt-get install -y nodejs - - - name: Install dependencies for the whole workspace - run: | - npm install - - - name: Build all packages (reactgrid and website) - run: | - npm run build --workspaces - - - name: Deploy to GitHub Pages - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - npm install -g gh-pages - gh-pages -d website/out -b gh-pages diff --git a/website/app/support/page.tsx b/website/app/support/page.tsx index 135c9eaa..7aa4d234 100644 --- a/website/app/support/page.tsx +++ b/website/app/support/page.tsx @@ -8,6 +8,7 @@ export default function FeaturesPage() {

Need support?

+

If you have any inquiries or need assistance, our team is here to help.