6 Commits

Author SHA1 Message Date
Grant
80f753ad51 clean up tar file
Some checks failed
/ build (push) Failing after 13s
2025-03-16 16:26:16 -06:00
Grant
4a553a6bc8 tar and upload file 2025-03-16 16:16:23 -06:00
Grant
66bda0c064 remove unneeded steps 2025-03-16 16:10:27 -06:00
Grant
2ef36859b2 move workflow to yaml file 2025-03-16 16:02:22 -06:00
Grant
8b4ff3e9ce rename .github to .gitea 2025-03-16 15:59:27 -06:00
Grant
c4beaaacdc Allow for manual dispatch 2025-03-16 15:57:19 -06:00

View File

@@ -3,6 +3,7 @@ on:
push: push:
tags: tags:
- 'v*' - 'v*'
workflow_dispatch:
permissions: permissions:
contents: read contents: read
@@ -26,11 +27,6 @@ jobs:
with: with:
submodules: recursive submodules: recursive
fetch-depth: 0 fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo - name: Build with Hugo
env: env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
@@ -39,9 +35,12 @@ jobs:
run: | run: |
hugo \ hugo \
--gc \ --gc \
--minify \ --minify
--baseURL "${{ steps.pages.outputs.base_url }}/" - name: 'Tar files'
- name: Upload artifact run: tar -cvf ${{gitea.ref}}.tar -C public/ .
uses: actions/upload-pages-artifact@v3
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with: with:
path: ./public name: ${{gitea.ref}}.tar
path: ${{gitea.ref}}.tar