зеркало из https://github.com/docker/get-involved.git
Delete hugo.yml
This commit is contained in:
Родитель
0f7706a475
Коммит
ac88bd2b6a
|
@ -1,42 +0,0 @@
|
|||
name: Hugo
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Checkout submodules
|
||||
uses: textbook/git-checkout-submodule-action@master
|
||||
|
||||
- name: install pandoc
|
||||
run: |
|
||||
wget https://github.com/jgm/pandoc/releases/download/2.11.4/pandoc-2.11.4-1-amd64.deb
|
||||
sudo dpkg -i pandoc-2.11.4-1-amd64.deb
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.71.1'
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npm install -D --save autoprefixer
|
||||
npm install -D --save postcss-cli
|
||||
hugo
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
if: success() && github.event_name != 'pull_request'
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./public
|
Загрузка…
Ссылка в новой задаче