chore: Use endpoint_type rather than interface to work around lib bug #335
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: docs | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Install Earthly | |
uses: earthly/actions-setup@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build image | |
run: earthly --secret GITHUB_TOKEN +mkdocs-build | |
env: | |
EARTHLY_CI: true | |
EARTHLY_PUSH: "${{ github.event_name == 'push' }}" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |