summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-27 00:43:37 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-27 00:43:37 +0200
commitda0db90c421d5934d0d93888bcfd75c570dc5570 (patch)
tree8f5788682449be154eb32d73dfcfd3e316f5716a /.github
parent190b434dd9ad9627440787623de0ca9452f343f3 (diff)
downloadgohugo-theme-ed-da0db90c421d5934d0d93888bcfd75c570dc5570.tar.gz
Remove no longer needed cd workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cd.yml42
1 files changed, 0 insertions, 42 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
deleted file mode 100644
index 1e6a4a2..0000000
--- a/.github/workflows/cd.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: CD
-
-on:
- push:
- paths-ignore:
- - "LICENSE"
- - "README.md"
- branches:
- - master
- workflow_dispatch:
- # manual run
- inputs:
- hugoVersion:
- description: "Hugo Version"
- required: false
- default: "0.95.0"
-
-jobs:
- deploy:
- runs-on: ubuntu-20.04
- name: Build GH-Pages
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
-
- steps:
- - name: Checkout code
- uses: actions/checkout@v3
-
- - name: Setup Hugo
- uses: peaceiris/actions-hugo@v2
- with:
- hugo-version: "${{ github.event.inputs.hugoVersion }}"
- extended: true
-
- - name: Build local ./exampleSite
- run: hugo --minify --gc --destination ../public --source ./exampleSite --baseURL https://sergeyklay.github.io/gohugo-theme-ed/
-
- - name: Deploy to GitHub Pages
- uses: peaceiris/actions-gh-pages@v3
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./public