diff --git a/.github/workflows/build-and-deploy-main.yml b/.github/workflows/build-and-deploy-main.yml deleted file mode 100644 index 8c1fdf82..00000000 --- a/.github/workflows/build-and-deploy-main.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: build-and-deploy-main - -on: - push: - branches: - - main - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: 'npm' - - name: Build - run: | - npm ci --omit=dev - npm run build - env: - PATH_PREFIX: /engineering-guidance-and-standards - SITE_ROOT: https://ho-cto.github.io/engineering-guidance-and-standards/ - - name: Upload Pages Artifact - uses: actions/upload-pages-artifact@v2 - with: - path: _site - deploy: - runs-on: ubuntu-22.04 - needs: build - permissions: - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v2 - id: deployment