Skip to content

Schedule!

Schedule! #80

Workflow file for this run

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: "16"
cache: "yarn"
- run: yarn 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