forked from ZupIT/docs-charles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo-generation.yml
47 lines (42 loc) · 1.03 KB
/
hugo-generation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# name: github pages
# on:
# push:
# branches:
# - master
# tags-ignore:
# - '*.*'
# paths-ignore:
# - .\docs
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Check out master
# uses: actions/checkout@master
# with:
# submodules: true
# fetch-depth: 0
# - name: Deploy site
# uses: plopcas/hugo-s3-action@v1.3.0
# env:
# AWS_REGION: 'us-east-1'
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# MINIFY: 'true'
# jobs:
# deploy:
# runs-on: ubuntu-18.04
# steps:
# - uses: actions/checkout@v2
# with:
# submodules: true
# fetch-depth: 0
# - name: Setup Hugo
# uses: peaceiris/actions-hugo@v2
# with:
# hugo-version: '0.76.4'
# extended: true
# - name: Build
# run: |
# cd Settings
# hugo -D