Removing debugging, adding CNAME and README

This commit is contained in:
andy 2022-08-21 17:32:32 +01:00
parent 8f664eb346
commit 61c5dbe1f6
2 changed files with 11 additions and 2 deletions

View File

@ -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:

4
README.md Normal file
View File

@ -0,0 +1,4 @@
[sarsoo.xyz](https://new.sarsoo.xyz)
===============
Hugo static site for [sarsoo.xyz](https://new.sarsoo.xyz)