Skip to content

Commit

Permalink
ci: modify GitHub Actions and Earthfile workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Coobaha committed Nov 20, 2023
1 parent 7cc5350 commit f75b693
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,19 @@ jobs:
env:
EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }}
FORCE_COLOR: 1
environment:
name: main
steps:
- uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: 'latest'

- name: Checkout repository
uses: actions/checkout@v4
- name: Select satellite
run: earthly sat select docs
- name: Run build
run: earthly --ci --push +docs.build
run: earthly --org Coobaha --sat docs --ci --output +docs.build
- name: Run tests
run: earthly --ci +docs.test
run: earthly --org Coobaha --sat docs --ci +docs.test

- name: Upload documentation
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit f75b693

Please sign in to comment.