diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 25b9498..3afdaec 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -36,20 +36,25 @@ jobs: run: | 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 + - name: Checkout uses: actions/checkout@v3 with: submodules: true + - name: Setup Pages id: pages uses: actions/configure-pages@v1 - - name: ls - run: ls -al && ls -al themes && ls -al themes/hugo-coder + - name: Build with Hugo run: | hugo \ --minify \ --baseURL ${{ steps.pages.outputs.base_url }} + + - name: Write CNAME + run: echo new.sarsoo.xyz > ./public/CNAME + - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: diff --git a/README.md b/README.md new file mode 100644 index 0000000..f746ffd --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +[sarsoo.xyz](https://new.sarsoo.xyz) +=============== + +Hugo static site for [sarsoo.xyz](https://new.sarsoo.xyz) \ No newline at end of file