Skip to content

Merge pull request #52 from stepchowfun/default-focus #503

Merge pull request #52 from stepchowfun/default-focus

Merge pull request #52 from stepchowfun/default-focus #503

Workflow file for this run

name: Continuous integration
on:
pull_request:
push:
branches:
- main
jobs:
ci:
name: Validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- if: ${{ github.event_name == 'push' }}
uses: docker/login-action@v3
with:
username: stephanmisc
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: stepchowfun/toast/.github/actions/toast@main
with:
tasks: build check release
docker_repo: stephanmisc/toast
read_remote_cache: ${{ github.event_name == 'push' }}
write_remote_cache: ${{ github.event_name == 'push' }}
- uses: actions/upload-pages-artifact@v3
with:
path: website/
deploy_github_pages:
name: Deploy to GitHub pages
if: ${{ github.event_name == 'push' }}
needs: ci
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
permissions:
pages: write
id-token: write
steps:
- uses: actions/deploy-pages@v4