Sha256: 246932054fb6299a79f32d4dada240cf2d7c3bbd73d3a98ef933110541332671

Contents?: true

Size: 961 Bytes

Versions: 3

Compression:

Stored size: 961 Bytes

Contents

name: Deploy to GitHub pages

on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true

      - name: Setup Node
        uses: actions/setup-node@v2
        with:
          node-version: "20"
          cache: "npm"
      - run: npm install

      - name: Build
        env:
          BRIDGETOWN_ENV: production
        run: bin/bridgetown deploy

      - name: Upload build artifact
        uses: actions/upload-pages-artifact@v1
        with:
          path: ./output

  deploy:
    needs: build

    permissions:
      pages: write
      id-token: write

    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}

    runs-on: ubuntu-latest
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v1

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta3 lib/bridgetown-core/configurations/gh-pages/gh-pages.yml
bridgetown-core-2.0.0.beta2 lib/bridgetown-core/configurations/gh-pages/gh-pages.yml
bridgetown-core-2.0.0.beta1 lib/bridgetown-core/configurations/gh-pages/gh-pages.yml