Remove YAML blank lines
This commit is contained in:
7
.github/workflows/pages.yml
vendored
7
.github/workflows/pages.yml
vendored
@@ -1,24 +1,18 @@
|
|||||||
name: Deploy Hugo site to Pages
|
name: Deploy Hugo site to Pages
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["**"]
|
branches: ["**"]
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "pages"
|
group: "pages"
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -60,7 +54,6 @@ jobs:
|
|||||||
# run: |
|
# run: |
|
||||||
# cd exampleSite
|
# cd exampleSite
|
||||||
# hugo --baseURL ${{ steps.pages.outputs.base_url }} --environment production --minify --themesDir ../..
|
# hugo --baseURL ${{ steps.pages.outputs.base_url }} --environment production --minify --themesDir ../..
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
|
Reference in New Issue
Block a user