docs: Add note on host requirements for non-packaged builds #448
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: hydrapp CI | |
on: | |
push: | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
build-oci-images: | |
runs-on: ${{ matrix.target.runner }} | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
strategy: | |
matrix: | |
target: | |
- id: hydrapp-build-apk-linux-amd64 | |
src: hydrapp/pkg/builders/apk | |
image: ghcr.io/pojntfx/hydrapp-build-apk | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
# Disabled since Google doesn't publish `sdkmanager`-provided tools for arm64 | |
# - id: hydrapp-build-apk-linux-arm64-v8 | |
# src: hydrapp/pkg/builders/apk | |
# image: ghcr.io/pojntfx/hydrapp-build-apk | |
# arch: "linux/arm64/v8" | |
# runner: ubicloud-standard-4-arm | |
- id: hydrapp-build-deb-linux-amd64 | |
src: hydrapp/pkg/builders/deb | |
image: ghcr.io/pojntfx/hydrapp-build-deb | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
- id: hydrapp-build-deb-linux-arm64-v8 | |
src: hydrapp/pkg/builders/deb | |
image: ghcr.io/pojntfx/hydrapp-build-deb | |
arch: "linux/arm64/v8" | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-build-dmg-linux-amd64 | |
src: hydrapp/pkg/builders/dmg | |
image: ghcr.io/pojntfx/hydrapp-build-dmg | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
- id: hydrapp-build-dmg-linux-arm64-v8 | |
src: hydrapp/pkg/builders/dmg | |
image: ghcr.io/pojntfx/hydrapp-build-dmg | |
arch: "linux/arm64/v8" | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-build-flatpak-linux-amd64 | |
src: hydrapp/pkg/builders/flatpak | |
image: ghcr.io/pojntfx/hydrapp-build-flatpak | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
- id: hydrapp-build-flatpak-linux-arm64-v8 | |
src: hydrapp/pkg/builders/flatpak | |
image: ghcr.io/pojntfx/hydrapp-build-flatpak | |
arch: "linux/arm64/v8" | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-build-msi-linux-amd64 | |
src: hydrapp/pkg/builders/msi | |
image: ghcr.io/pojntfx/hydrapp-build-msi | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
# Disabled since various MSYS2 packages aren't available for arm64 | |
# - id: hydrapp-build-msi-linux-arm64-v8 | |
# src: hydrapp/pkg/builders/msi | |
# image: ghcr.io/pojntfx/hydrapp-build-msi | |
# arch: "linux/arm64/v8" | |
# runner: ubicloud-standard-4-arm | |
- id: hydrapp-build-rpm-linux-amd64 | |
src: hydrapp/pkg/builders/rpm | |
image: ghcr.io/pojntfx/hydrapp-build-rpm | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
- id: hydrapp-build-rpm-linux-arm64-v8 | |
src: hydrapp/pkg/builders/rpm | |
image: ghcr.io/pojntfx/hydrapp-build-rpm | |
arch: "linux/arm64/v8" | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-build-binaries-linux-amd64 | |
src: hydrapp/pkg/builders/binaries | |
image: ghcr.io/pojntfx/hydrapp-build-binaries | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
- id: hydrapp-build-binaries-linux-arm64-v8 | |
src: hydrapp/pkg/builders/binaries | |
image: ghcr.io/pojntfx/hydrapp-build-binaries | |
arch: "linux/arm64/v8" | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-build-tests-linux-amd64 | |
src: hydrapp/pkg/builders/tests | |
image: ghcr.io/pojntfx/hydrapp-build-tests | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
- id: hydrapp-build-tests-linux-arm64-v8 | |
src: hydrapp/pkg/builders/tests | |
image: ghcr.io/pojntfx/hydrapp-build-tests | |
arch: "linux/arm64/v8" | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-build-docs-linux-amd64 | |
src: hydrapp/pkg/builders/docs | |
image: ghcr.io/pojntfx/hydrapp-build-docs | |
arch: "linux/amd64" | |
runner: ubuntu-latest | |
- id: hydrapp-build-docs-linux-arm64-v8 | |
src: hydrapp/pkg/builders/docs | |
image: ghcr.io/pojntfx/hydrapp-build-docs | |
arch: "linux/arm64/v8" | |
runner: ubicloud-standard-4-arm | |
steps: | |
- name: Maximize build space | |
run: | | |
sudo rm -rf /usr/share/dotnet | |
sudo rm -rf /usr/local/lib/android | |
sudo rm -rf /opt/ghc | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up metadata | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: ${{ matrix.target.image }} | |
- name: Build and push image by digest to registry | |
id: build | |
uses: docker/build-push-action@v5 | |
with: | |
context: ${{ matrix.target.src }} | |
file: ${{ matrix.target.src }}/Dockerfile | |
platforms: ${{ matrix.target.arch }} | |
labels: ${{ steps.meta.outputs.labels }} | |
outputs: type=image,name=${{ matrix.target.image }},push-by-digest=true,name-canonical=true,push=true | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- name: Export digest | |
run: | | |
mkdir -p "/tmp/digests" | |
export DIGEST="${{ steps.build.outputs.digest }}" | |
touch "/tmp/digests/${DIGEST#sha256:}" | |
- name: Upload digest | |
uses: actions/upload-artifact@v4 | |
with: | |
name: digests-${{ matrix.target.id }} | |
path: /tmp/digests/* | |
if-no-files-found: error | |
retention-days: 1 | |
merge-oci-images: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
needs: build-oci-images | |
strategy: | |
matrix: | |
target: | |
- idprefix: hydrapp-build-apk-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-apk | |
- idprefix: hydrapp-build-deb-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-deb | |
- idprefix: hydrapp-build-dmg-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-dmg | |
- idprefix: hydrapp-build-flatpak-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-flatpak | |
- idprefix: hydrapp-build-msi-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-msi | |
- idprefix: hydrapp-build-rpm-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-rpm | |
- idprefix: hydrapp-build-binaries-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-binaries | |
- idprefix: hydrapp-build-tests-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-tests | |
- idprefix: hydrapp-build-docs-linux- | |
image: ghcr.io/pojntfx/hydrapp-build-docs | |
steps: | |
- name: Maximize build space | |
run: | | |
sudo rm -rf /usr/share/dotnet | |
sudo rm -rf /usr/local/lib/android | |
sudo rm -rf /opt/ghc | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up metadata | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: ${{ matrix.target.image }} | |
tags: type=semver,pattern={{version}} | |
- name: Download digests | |
uses: actions/download-artifact@v4 | |
with: | |
path: /tmp/digests | |
pattern: digests-${{ matrix.target.idprefix }}* | |
merge-multiple: true | |
- name: Create pre-release manifest list and push to registry | |
working-directory: /tmp/digests | |
run: | | |
docker buildx imagetools create --tag "${{ matrix.target.image }}:${{ github.ref_name }}" $(printf '${{ matrix.target.image }}@sha256:%s ' *) | |
- name: Create release manifest list and push to registry | |
if: startsWith(github.ref, 'refs/tags/v') | |
working-directory: /tmp/digests | |
run: | | |
TAGS=$(echo "${{ steps.meta.outputs.tags }}" | tr '\n' ' ') | |
for TAG in $TAGS; do | |
docker buildx imagetools create --tag "$TAG" $(printf '${{ matrix.target.image }}@sha256:%s ' *); | |
done | |
build-linux: | |
runs-on: ${{ matrix.target.runner }} | |
permissions: | |
contents: read | |
needs: merge-oci-images | |
strategy: | |
matrix: | |
target: | |
# com.pojtinger.felicitas.hydrapp.example.vanillajs.forms | |
- id: hydrapp-apk.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: deb|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-deb-amd64.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: deb/arm64|apk|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-deb-arm64.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: deb/amd64|apk|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-dmg.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: apk|deb|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-flatpak-amd64.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: apk|deb|flatpak/arm64|dmg|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-flatpak-arm64.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: apk|deb|flatpak/amd64|dmg|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-msi.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: apk|deb|flatpak|dmg|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-rpm-amd64.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: apk|deb|flatpak|dmg|rpm/arm64|msi|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-rpm-arm64.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: apk|deb|flatpak|dmg|rpm/amd64|msi|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-binaries.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: apk|deb|flatpak|dmg|msi|rpm|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-tests.hydrapp-example-vanillajs-forms | |
src: . | |
pkg: hydrapp-example-vanillajs-forms | |
exclude: apk|deb|flatpak|dmg|msi|rpm|binaries | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
# com.pojtinger.felicitas.hydrapp.example.vanillajs.rest | |
- id: hydrapp-apk.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: deb|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-deb-amd64.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: deb/arm64|apk|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-deb-arm64.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: deb/amd64|apk|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-dmg.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: apk|deb|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-flatpak-amd64.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: apk|deb|flatpak/arm64|dmg|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-flatpak-arm64.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: apk|deb|flatpak/amd64|dmg|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-msi.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: apk|deb|flatpak|dmg|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-rpm-amd64.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: apk|deb|flatpak|dmg|rpm/arm64|msi|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-rpm-arm64.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: apk|deb|flatpak|dmg|rpm/amd64|msi|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-binaries.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: apk|deb|flatpak|dmg|msi|rpm|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-tests.hydrapp-example-vanillajs-rest | |
src: . | |
pkg: hydrapp-example-vanillajs-rest | |
exclude: apk|deb|flatpak|dmg|msi|rpm|binaries | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
# com.pojtinger.felicitas.hydrapp.example.react.panrpc | |
- id: hydrapp-apk.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: deb|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-deb-amd64.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: deb/arm64|apk|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-deb-arm64.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: deb/amd64|apk|dmg|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-dmg.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: apk|deb|flatpak|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-flatpak-amd64.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: apk|deb|flatpak/arm64|dmg|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-flatpak-arm64.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: apk|deb|flatpak/amd64|dmg|msi|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-msi.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: apk|deb|flatpak|dmg|rpm|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-rpm-amd64.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: apk|deb|flatpak|dmg|rpm/arm64|msi|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-rpm-arm64.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: apk|deb|flatpak|dmg|rpm/amd64|msi|binaries|tests | |
tag: main | |
dst: out/* | |
runner: ubicloud-standard-4-arm | |
- id: hydrapp-binaries.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: apk|deb|flatpak|dmg|msi|rpm|tests | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
- id: hydrapp-tests.hydrapp-example-react-panrpc | |
src: . | |
pkg: hydrapp-example-react-panrpc | |
exclude: apk|deb|flatpak|dmg|msi|rpm|binaries | |
tag: main | |
dst: out/* | |
runner: ubuntu-latest | |
steps: | |
- name: Maximize build space | |
run: | | |
sudo rm -rf /usr/share/dotnet | |
sudo rm -rf /usr/local/lib/android | |
sudo rm -rf /opt/ghc | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Set up hydrun | |
run: | | |
curl -L -o /tmp/hydrun "/~https://github.com/pojntfx/hydrun/releases/latest/download/hydrun.linux-$(uname -m)" | |
sudo install /tmp/hydrun /usr/local/bin | |
- name: Build hydrapp with hydrun | |
working-directory: . | |
run: hydrun -o golang:bookworm "./Hydrunfile go hydrapp" | |
- name: Fix permissions for output | |
run: sudo chown -R $USER . | |
- name: Install hydrapp | |
working-directory: . | |
run: sudo install -D -m 0755 "out/hydrapp.linux-$(uname -m)" /usr/local/bin/hydrapp | |
- name: Remove hydrapp build output | |
working-directory: . | |
run: rm -rf out | |
- name: Setup Java/APK keystore | |
working-directory: . | |
env: | |
JAVA_KEYSTORE: ${{ secrets.JAVA_KEYSTORE }} | |
run: echo "${JAVA_KEYSTORE}" | base64 -d >'/tmp/keystore.jks' | |
- name: Setup PGP key | |
working-directory: . | |
env: | |
PGP_KEY: ${{ secrets.PGP_KEY }} | |
run: echo "${PGP_KEY}" | base64 -d >'/tmp/pgp.asc' | |
- name: Build with hydrapp | |
working-directory: ${{ matrix.target.src }} | |
env: | |
HYDRAPP_JAVA_KEYSTORE: /tmp/keystore.jks | |
HYDRAPP_JAVA_KEYSTORE_PASSWORD: ${{ secrets.JAVA_KEYSTORE_PASSWORD }} | |
HYDRAPP_JAVA_CERTIFICATE_PASSWORD: ${{ secrets.JAVA_CERTIFICATE_PASSWORD }} | |
HYDRAPP_PGP_KEY: /tmp/pgp.asc | |
HYDRAPP_PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }} | |
HYDRAPP_PGP_KEY_ID: ${{ secrets.PGP_KEY_ID }} | |
run: | | |
hydrapp build --config='./${{ matrix.target.pkg }}/hydrapp.yaml' --exclude='${{ matrix.target.exclude }}' \ | |
--pull=true --tag='${{ matrix.target.tag }}' \ | |
--dst="${PWD}/out/${{ matrix.target.pkg }}" --src="${PWD}" \ | |
--concurrency="$(nproc)" | |
- name: Upload output | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.target.id }} | |
path: ${{ matrix.target.dst }} | |
publish-linux: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
needs: build-linux | |
environment: | |
name: github-pages | |
url: ${{ steps.setup.outputs.base_url }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download output | |
uses: actions/download-artifact@v4 | |
with: | |
path: /tmp/out | |
- name: Isolate the repositories | |
run: | | |
mkdir -p /tmp/github-pages | |
for dir in /tmp/out/*/; do | |
rsync -a "${dir}"/ /tmp/github-pages/ | |
done | |
touch /tmp/github-pages/.nojekyll | |
- name: Add index for repositories | |
run: | | |
sudo apt update | |
sudo apt install -y tree | |
cd /tmp/github-pages/ | |
tree --timefmt '%Y-%m-%dT%H:%M:%SZ' -T 'hydrapp Repositories' --du -h -D -H . -o 'index.html' | |
- name: Setup GitHub Pages | |
id: setup | |
uses: actions/configure-pages@v5 | |
- name: Publish to GitHub pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: /tmp/github-pages/ | |
keep_files: true | |
user_name: github-actions[bot] | |
user_email: github-actions[bot]@users.noreply.github.com |