Skip to content

Commit

Permalink
arranged Github workflows on deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
brklntmhwk committed Mar 1, 2024
1 parent 75d9073 commit c9ef070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
run: |
corepack enable yarn
yarn --version
- name: Get yarn cache dir
- name: Get yarn store path
id: yarn_cache
run: echo "STORE_PATH=$(yarn store path)" >> $GITHUB_OUTPUT
- name: Set up yarn store
uses: actions/cache@v4
with:
path: ${{ steps.yarn_cache.outputs.STORE_PATH }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"wrangler": "npx wrangler",
"pages:dev": "wrangler pages dev --compatibility-date=2024-01-17 -- astro dev",
"pages:deploy": "astro build && wrangler pages deploy ./dist",
"format": "prettier --write './src/**/*.{js,ts,json,astro,svg}'",
"format": "prettier --write './src/**/*.{js,ts,json,astro}'",
"prepare": "husky"
},
"dependencies": {
Expand Down

0 comments on commit c9ef070

Please sign in to comment.