From af6d074b596fec2e41f17e1d2a6560fa36b9d93a Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 07:15:30 +0000 Subject: [PATCH] Set up GitHub Pages deployment Add a GitHub Actions workflow that publishes the repository as a static site on GitHub Pages on every push to main. Include a .nojekyll file so assets are served as-is, a landing page linking the asset collections, and README instructions for the one-time Pages source setting. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Eoi55yFM76CuMw8EbCHBhn --- .github/workflows/deploy-pages.yml | 44 +++++++++ .nojekyll | 0 README.md | 25 ++++- index.html | 150 +++++++++++++++++++++++++++++ 4 files changed, 218 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy-pages.yml create mode 100644 .nojekyll create mode 100644 index.html diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml new file mode 100644 index 0000000..c2cbb9b --- /dev/null +++ b/.github/workflows/deploy-pages.yml @@ -0,0 +1,44 @@ +name: Deploy static assets to GitHub Pages + +on: + # Deploy on every push to the default branch + push: + branches: + - main + # Allow manual runs from the Actions tab + workflow_dispatch: + +# Grant the token the permissions Pages deployment needs +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, and don't cancel an +# in-progress run (let it finish so a deploy is never left half-done). +concurrency: + group: pages + cancel-in-progress: false + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Pages + uses: actions/configure-pages@v5 + + - name: Upload site artifact + uses: actions/upload-pages-artifact@v3 + with: + # Publish the whole repository as-is (it is a static asset host) + path: . + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index 7f568ae..9e62c0d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,26 @@ ## Invitato Public Assets -Centralized Public Assets for Invitato Web Invitation \ No newline at end of file +Centralized Public Assets for Invitato Web Invitation + +### GitHub Pages + +This repository is published as a static site via GitHub Pages, so every +asset is reachable over HTTPS by its path. + +Deployment is automated by +[`.github/workflows/deploy-pages.yml`](.github/workflows/deploy-pages.yml): +on every push to `main` the entire repository is uploaded and deployed as a +Pages artifact. A `.nojekyll` file is included so files are served as-is, +without any Jekyll processing. + +**One-time setup:** in the repository's **Settings → Pages**, set +**Source** to **GitHub Actions**. After that, pushes to `main` deploy +automatically (you can also trigger a run manually from the **Actions** tab). + +Once live, files are available at: + +``` +https://.github.io// +``` + +for example `https://.github.io//logo-vendor/Glow.png`. diff --git a/index.html b/index.html new file mode 100644 index 0000000..4f97bf6 --- /dev/null +++ b/index.html @@ -0,0 +1,150 @@ + + + + + + Invitato Public Assets + + + + +
+
+

Invitato Public Assets

+

+ Centralized public assets for Invitato web invitations, served over + GitHub Pages. +

+
+ +

+ This site hosts static assets — images, videos, logos and templates — + used across Invitato web invitations. Browse the collections below or + reference any file directly by its path. +

+ + + + +
+ +