viberss

RSS feed aggregator with a vibecoded reader app.
git clone https://unitehenry.com/git/viberss.git
Log | Files | Refs | README

commit 4b4797f061b06dbcff9d4c2b8754e9e599e0dd6c
parent 0743a692b6a6c4545f12680fb56b62590c344c24
Author: Henry Unite <unitehenry@gmail.com>
Date:   Mon, 11 May 2026 04:29:25 +0000

ci: build and deploy

Diffstat:
M.github/workflows/main.yml | 55++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 50 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -46,11 +46,6 @@ jobs: - name: Install xq run: curl -sSL https://bit.ly/install-xq | sudo bash - - name: xq help - run: | - xq --version - xq --help - - name: Generate feeds run: ./scripts/feeds env: @@ -64,3 +59,53 @@ jobs: - name: Test feeds run: ./test/feeds + + build: + needs: [test] + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v6 + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: 22 + + - name: Install dependencies + run: npm --prefix app install + + - name: Install xq + run: curl -sSL https://bit.ly/install-xq | sudo bash + + - name: Generate feeds + run: ./scripts/feeds + env: + TWITTER_AUTH_TOKEN: ${{ secrets.TWITTER_AUTH_TOKEN }} + + - name: Build + run: ./scripts/build + + - name: Upload artifact + uses: actions/upload-pages-artifact@v5.0.0 + with: + name: github-pages + path: app/dist + + deploy: + runs-on: ubuntu-latest + needs: [build] + + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - name: Deploy + id: deployment + uses: actions/deploy-pages@v5