Something went wrong. Try again.
Rules-based browser launcher for TUI + GNOME. switchyard.aly.codes
tui gnome bowser go
Something went wrong. Try again.
1.6 kB · 55 lines
YAML
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556on: push: branches: [master] paths: - "website/**" - ".github/workflows/website.yml" workflow_dispatch:name: Websiteconcurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: truejobs: publish: name: "Build and Publish Image" runs-on: ubuntu-latest permissions: contents: read packages: write steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v6 with: node-version: 22 cache: npm cache-dependency-path: website/package-lock.json - name: Install dependencies run: npm ci working-directory: website - name: Build site run: npm run build working-directory: website - uses: docker/setup-qemu-action@v4 - uses: docker/setup-buildx-action@v4 - name: Log in to GHCR uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Extract image metadata id: meta uses: docker/metadata-action@v6 with: images: ghcr.io/${{ github.repository_owner }}/switchyard-website tags: | type=raw,value=latest type=sha - name: Build and push uses: docker/build-push-action@v7 with: context: website platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}