From 3296eee590f795022dfae49567860270af5c6d51 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Tue, 2 Jun 2026 01:14:00 +0300 Subject: init: moved to git.gumx.cc --- ci-examples/.github/workflows/wr.yml | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 ci-examples/.github/workflows/wr.yml (limited to 'ci-examples/.github/workflows/wr.yml') diff --git a/ci-examples/.github/workflows/wr.yml b/ci-examples/.github/workflows/wr.yml new file mode 100644 index 0000000..1459a9e --- /dev/null +++ b/ci-examples/.github/workflows/wr.yml @@ -0,0 +1,48 @@ +name: Deploy webring to Pages + +on: + push: + branches: ["main"] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true + +defaults: + run: + shell: sh + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: recursive + - name: Setup Pages + id: pages + uses: actions/configure-pages@v2 + - name: Build webring + run: ./wr + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + path: ./public + + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 -- cgit v1.2.3