diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml deleted file mode 100644 index ff2460f66..000000000 --- a/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: github pages - -on: - push: - branches: - - main # Set a branch to deploy - pull_request: - -jobs: - deploy: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v5 - with: - submodules: true # Fetch Hugo themes (true OR recursive) - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7 - - - run: gem install asciidoctor rouge - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 - with: - hugo-version: '0.133.1' - extended: true - - - name: Build - run: | - hugo --minify - - - name: Deploy - uses: peaceiris/actions-gh-pages@v4 - if: github.ref == 'refs/heads/main' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public diff --git a/.github/workflows/preview-message.yml b/.github/workflows/preview-message.yml deleted file mode 100644 index f1e8f772b..000000000 --- a/.github/workflows/preview-message.yml +++ /dev/null @@ -1,20 +0,0 @@ -on: - # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target - # This way this CI job runs in the context of the base of the pull request and so has access to the PAT secret - # to be able to comment on the PR - pull_request_target: - -jobs: - test: - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - uses: mshick/add-pr-comment@v2 - with: - message: | - This is an automated message: - - You can preview this docs PR at http://${{ github.event.number }}.docs-pr.validatedpatterns.io - Note that they get generated every five minutes, so please wait a bit. - repo-token: ${{ secrets.DOCS_PR_TOKEN }}