From dd0cc8f02d52278a7dcce56bba2f32ee0cc19451 Mon Sep 17 00:00:00 2001 From: 1BL4Z3R <34515568+1bl4z3r@users.noreply.github.com> Date: Sat, 19 Aug 2023 02:51:37 +0000 Subject: [PATCH] Delete .github directory Workflows are not useful for Hugo. Hence removing --- .github/workflows/cd.yml | 41 ----------------------------------- .github/workflows/release.yml | 15 ------------- 2 files changed, 56 deletions(-) delete mode 100644 .github/workflows/cd.yml delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml deleted file mode 100644 index 62f171d..0000000 --- a/.github/workflows/cd.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Build and Deploy Hugo Site -on: - push: - branches: - - main - pull_request: - branches: - - main -jobs: - build-and-deploy-site: - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v2 - with: - submodules: true - fetch-depth: 0 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: 'latest' - extended: true - - - name: Build site with Hugo - run: hugo --minify - - - name: Check HTML - uses: chabad360/htmlproofer@master - with: - directory: "./public" - arguments: --only-4xx --check-favicon --check-html --assume-extension --empty-alt-ignore --disable-external - continue-on-error: true - - - name: Deploy to GitHub Pages - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public - publish_branch: gh-pages \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 3b806e0..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,15 +0,0 @@ -# Deploy Releases -name: Release -on: - push: - tags: - - "v*" -jobs: - release: - name: Release - runs-on: "ubuntu-latest" - steps: - - uses: "marvinpinto/action-automatic-releases@latest" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: false