diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 109b1df..dba30f7 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -13,9 +13,6 @@ assignees: '' Please fill the template below - **DO NOT** ask for instructions. -- Use Discussions section if you need help -- See project wiki https://github.com/adityatelange/hugo-PaperMod/wiki -- Read FAQs section https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs - Search for previous issues/ pull requests --> diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 1a4dd9b..3ba13e0 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1 @@ blank_issues_enabled: false -contact_links: - - name: PaperMod Discussions - url: https://github.com/adityatelange/hugo-PaperMod/discussions - about: Please ask and answer questions/doubts here, do not open an issue for questions. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 00b856c..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,44 +0,0 @@ - - - -**What does this PR change? What problem does it solve?** - - - - -**Was the change discussed in an issue or in the Discussions before?** - - - - -## PR Checklist - -- [ ] This change adds/updates translations and I have used the [template present here](https://github.com/adityatelange/hugo-PaperMod/wiki/Translations#want-to-add-your-language-). -- [ ] I have enabled [maintainer edits for this PR](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork). -- [ ] I have verified that the code works as described/as intended. -- [ ] This change adds a Social Icon which has a permissive license to use it. -- [ ] This change **does not** include any CDN resources/links. -- [ ] This change **does not** include any unrelated scripts such as bash and python scripts. -- [ ] This change updates the overridden internal templates from HUGO's repository. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 2da8f8f..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Build - -on: - pull_request: - branches: - - master - - exampleSite - workflow_dispatch: - # manual run - inputs: - hugoVersion: - description: "Hugo Version" - required: false - default: "0.83.0" - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Git checkout - uses: actions/checkout@v2 - with: - ref: exampleSite - - - name: Get Theme - run: git submodule update --init --recursive - - - name: Update theme to Latest commit - run: git submodule update --remote --merge - - - name: Setup hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: "${{ github.event.inputs.hugoVersion }}" - - - name: Build - run: hugo --buildDrafts --gc --verbose --minify diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 75033f8..b181753 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,47 +1,33 @@ -name: Build GH-Pages +name: GitHub Pages on: push: paths-ignore: - - "images/**" - - "LICENSE" - "README.md" branches: - master - exampleSite - workflow_dispatch: - # manual run - inputs: - hugoVersion: - description: "Hugo Version" - required: false - default: "0.83.0" jobs: deploy: runs-on: ubuntu-latest steps: - - name: Git checkout - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: - ref: exampleSite + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - name: Get Theme - run: git submodule update --init --recursive - - - name: Update theme to Latest commit - run: git submodule update --remote --merge - - - name: Setup hugo + - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: "${{ github.event.inputs.hugoVersion }}" + hugo-version: '0.91.2' + # extended: true - name: Build - run: hugo --buildDrafts --gc --verbose --minify + run: hugo -D --verbose --minify - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public