From a3a4b457e3ad9a1c6c564803ea68678e772dd33a Mon Sep 17 00:00:00 2001 From: DanHillesheim <79476558+DanHillesheim@users.noreply.github.com> Date: Fri, 24 Sep 2021 13:00:44 -0600 Subject: [PATCH] add redirects (#755) * add redirects * Update build.yml --- .github/workflows/build.yml | 67 ----------------------- _articles/faqs/hosting-faqs.md | 2 + _articles/organizations/managing-users.md | 2 + _categories/account-management.md | 2 + 4 files changed, 6 insertions(+), 67 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c4f8a24..e69de29b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,67 +0,0 @@ -name: Build - -on: push - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Set up Node - uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea - with: - node-version: '14' - - - name: Set up Ruby - uses: actions/setup-ruby@e932e7af67fc4a8fc77bd86b744acd4e42fe3543 - with: - ruby-version: 2.6 - - - name: Set up Jekyll - run: gem install bundler jekyll jekyll-redirect-from - - - name: Print environment - run: | - node --version - npm --version - ruby --version - jekyll --version - - - name: Checkout repo - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - - - name: Install Node dependencies - run: npm install - - - name: Build site - if: github.ref != 'refs/heads/master' - run: npm run build:prod - - - name: Build site for S3 - if: github.ref == 'refs/heads/master' - run: npm run build:prod:sub - - - name: Deploy to S3 - if: github.ref == 'refs/heads/master' - uses: jakejarvis/s3-sync-action@be0c4ab89158cac4278689ebedd8407dd5f35a83 - with: - args: --acl public-read --follow-symlinks --delete - env: - AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: 'us-east-1' - SOURCE_DIR: '_site' - DEST_DIR: 'help' - - - name: Deploy to staging - if: github.ref == 'refs/heads/staging' - uses: SamKirkland/FTP-Deploy-Action@9c4e4646b8b71d9ff86cfb1a44395ce36bf5ae56 - env: - FTP_SERVER: ${{ secrets.STAGING_FTP_SERVER }} - FTP_USERNAME: ftpuser - FTP_PASSWORD: ${{ secrets.STAGING_FTP_PASSWORD }} - METHOD: sftp - PORT: 22 - LOCAL_DIR: '_site' - REMOTE_DIR: help - ARGS: --delete diff --git a/_articles/faqs/hosting-faqs.md b/_articles/faqs/hosting-faqs.md index 9a66f8f0..3f5c6402 100644 --- a/_articles/faqs/hosting-faqs.md +++ b/_articles/faqs/hosting-faqs.md @@ -7,6 +7,8 @@ popular: true hidden: false tags: [] order: "13" +redirect_from: + - /article/what-hosted-plaforms-are-supported/ --- This article contains Frequently Asked Questions (FAQs) regarding **Self-hosting**. diff --git a/_articles/organizations/managing-users.md b/_articles/organizations/managing-users.md index d3a5f35e..a81e2b3c 100644 --- a/_articles/organizations/managing-users.md +++ b/_articles/organizations/managing-users.md @@ -6,6 +6,8 @@ featured: true popular: false tags: [] order: "05" +redirect_from: + - /article/user-seats/ --- ## Manage User Seats diff --git a/_categories/account-management.md b/_categories/account-management.md index 05ff2bf1..23cc35ad 100644 --- a/_categories/account-management.md +++ b/_categories/account-management.md @@ -3,4 +3,6 @@ layout: category title: Your Vault featured: true order: 02 +redirect_from: + - /features ---