fix: Make the first "Depart at" button active when selecting an itine… #226
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: Publish docs | |
on: | |
push: | |
paths: | |
- "**.ex" | |
- "**.exs" | |
- "**.md" | |
- ".github/workflows/docs.yml" | |
branches: | |
- main | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/configure-pages@v5 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 27.0 | |
elixir-version: 1.17.0 | |
- run: mix deps.get | |
- run: mix docs --formatter html | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
path: ./doc | |
- uses: actions/deploy-pages@v4 | |
deploy: | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |