diff options
Diffstat (limited to '.github/workflows/deploy.yml')
-rw-r--r-- | .github/workflows/deploy.yml | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 8a00f09..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Deployment
-
-on:
- push:
- branches:
- - master
- workflow_dispatch:
-
-jobs:
- deploy:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- submodules: true
- fetch-depth: 0
-
- - name: Install Hugo
- uses: peaceiris/actions-hugo@v2
- with:
- hugo-version: "0.79.0"
-
- - name: Build
- run: cd website && hugo --gc --minify --themesDir .
-
- - name: Deploy website to the branch
- uses: peaceiris/actions-gh-pages@v3
- with:
- personal_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./website/public
- #external_repository: gurusabarish/hugo-profile-demo
- publish_branch: demo
- user_name: hugo-profile bot
- user_email: githubactionsbot@users.noreply.github.com
|