From 52fb4b7b6ed16dce0ef75c99265a1308f2edb645 Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Fri, 6 Feb 2026 18:03:21 +0100 Subject: [PATCH] deployment workflow --- .github/workflows/deploy.yml | 37 ++++++++++++++++++++++++++++++++++++ CNAME | 1 + 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 CNAME diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..44cd437 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,37 @@ +name: Deploy to GitHub Pages + +on: + # Trigger the workflow every time you push to the `main` branch + # Using a different branch name? Replace `main` with your branch’s name + push: + branches: [ master ] + # Allows you to run this workflow manually from the Actions tab on GitHub. + workflow_dispatch: + +# Allow this job to clone the repo and create a page deployment +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout your repository using git + uses: actions/checkout@v4 + - name: Install, build, and upload your site + uses: withastro/action@v2 + with: + node-version: 22 + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..cdbe679 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +hmm.yht.one