From ea0732f3a3b89b3c90bda60ff6da991fac47687b Mon Sep 17 00:00:00 2001 From: Evert De Spiegeleer Date: Sat, 20 Jan 2024 14:07:17 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20setup=20github=20actions=20?= =?UTF-8?q?for=20docs=20deployment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/push.yml | 27 +++++++++++++++++++++++++++ docs/index.html | 11 +++++++++++ 2 files changed, 38 insertions(+) create mode 100644 docs/index.html diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 10d979b..d2ec771 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -153,3 +153,30 @@ jobs: run: | git commit -am "chore(version): 📦 prerelease version bump to ${{ steps.version.outputs.version }}" git push + + docs: + runs-on: ubuntu-latest + permissions: + contents: read + pages: write + id-token: write + concurrency: + group: "pages" + cancel-in-progress: false + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v4 + - name: Build docs + run: echo "nothing to do here atm :)" + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: './docs' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..3c1b2a9 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,11 @@ + + + + + + zhttp + + + Hello World! + + \ No newline at end of file