Enhance the logic for choosing which element to focus initially #500
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |