Skip to content

Update website location in config and README #22

Update website location in config and README

Update website location in config and README #22

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
- uses: actions/upload-pages-artifact@v1
with:
path: ./output
deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
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