Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusAndrade committed Sep 7, 2023
1 parent b561abb commit 16716aa
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: website
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -20,14 +17,15 @@ jobs:
with:
node-version: 18
cache: yarn
- run: cd website
- name: Install dependencies
run: yarn install --frozen-lockfile
- run: cd website
- name: Build website
run: yarn build
- run: ls -la
- run: pwd
- run: cd website
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_dir: ./website/build

0 comments on commit 16716aa

Please sign in to comment.