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 3f9bda6 commit 79061a5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: website

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -21,14 +19,11 @@ jobs:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
run: cd website && yarn install --frozen-lockfile
- name: Build website
run: yarn build
- run: ls -la
- run: pwd
run: cd website && yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
keep_files: true

0 comments on commit 79061a5

Please sign in to comment.