Skip to content

Commit

Permalink
Docs: move enjoy-docs under 1000h (#373)
Browse files Browse the repository at this point in the history
* move /enjoy-docs unser 1000-h/

* fix dep
  • Loading branch information
an-lee authored Mar 2, 2024
1 parent 22e6a1a commit 1876e45
Show file tree
Hide file tree
Showing 48 changed files with 1,730 additions and 4,651 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy-1000h.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,25 @@ jobs:

- uses: actions/cache@v4
with:
path: |
1000-hours/node_modules
1000-hours/**/node_modules
key: ${{ runner.os }}-${{ hashFiles('./1000-hours/package-lock.json') }}
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Setup node env
uses: actions/setup-node@master
with:
node-version: "20"

- run: npm install
working-directory: 1000-hours
- name: Install dependencies
run: yarn install

- run: npm run docs:build
working-directory: 1000-hours
- name: Build
run: yarn docs:build

- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy .vitepress/dist --project-name=1000-hours-prod
workingDirectory: "1000-hours"
workingDirectory: "1000-hours"

47 changes: 0 additions & 47 deletions .github/workflows/deploy-enjoy-docs.yml

This file was deleted.

Loading

0 comments on commit 1876e45

Please sign in to comment.