Removing debugging, adding CNAME and README
This commit is contained in:
parent
8f664eb346
commit
61c5dbe1f6
9
.github/workflows/pages.yml
vendored
9
.github/workflows/pages.yml
vendored
@ -36,20 +36,25 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
|
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
|
||||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v1
|
||||||
- name: ls
|
|
||||||
run: ls -al && ls -al themes && ls -al themes/hugo-coder
|
|
||||||
- name: Build with Hugo
|
- name: Build with Hugo
|
||||||
run: |
|
run: |
|
||||||
hugo \
|
hugo \
|
||||||
--minify \
|
--minify \
|
||||||
--baseURL ${{ steps.pages.outputs.base_url }}
|
--baseURL ${{ steps.pages.outputs.base_url }}
|
||||||
|
|
||||||
|
- name: Write CNAME
|
||||||
|
run: echo new.sarsoo.xyz > ./public/CNAME
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user