diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index a055e03f..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: "Build workflow" -on: [pull_request] -jobs: - build-test: - runs-on: ubuntu-20.04 - container: python:3.9-slim - steps: - - name: Check out code - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install pip dependencies - run: pip install -r requirements.txt - - name: Build - run: mkdocs build diff --git a/.github/workflows/update-dev-portal.yml b/.github/workflows/update-dev-portal.yml deleted file mode 100644 index ef794787..00000000 --- a/.github/workflows/update-dev-portal.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Trigger Documentation Build - -on: - push: - branches: - - master - - staging - -jobs: - trigger-build: - runs-on: ubuntu-latest - steps: - - name: Trigger documentation build - run: | - # Set environment based on branch - if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then - ENV="production" - else - ENV="staging" - fi - - # Trigger repository_dispatch event - curl -X POST \ - -H "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \ - -H "Accept: application/vnd.github.v3+json" \ - -d "{\"event_type\": \"docs_update\", \"client_payload\": {\"ref\": \"${{ github.ref }}\", \"environment\": \"$ENV\"}}" \ - https://api.github.com/repos/algorandfoundation/algorand-developer-portal/dispatches \ No newline at end of file