Skip to content

Commit

Permalink
fix build & deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ewangler committed Nov 18, 2023
1 parent 5b46eb4 commit ee7f888
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Install and build astro
shell: 'bash'
run: |
yarn
yarn build
npm install
npm run build
# - name: Install, build, and upload your site
# uses: withastro/action@v0
# with:
Expand All @@ -48,7 +48,7 @@ jobs:
run: npx tinacms build
- name: Copy TinaCMS artifacts
run: |
cp -R ./backend/public/it-landscape/admin/ ./dist/
cp -R ./public/it-landscape/admin/ ./dist/
rm ./dist/admin/.gitignore
- name: Create Pages Artifact
uses: actions/upload-pages-artifact@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["14", "16", "17"]
node: ["20"]
name: Node ${{ matrix.node }} sample
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: yarn install
- run: yarn build
- run: npm install
- run: npm run build
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"private": true,
"scripts": {
"dev": "tinacms dev -c \"next dev & astro dev\"",
"tina": "tinacms dev -c \"next dev & astro dev\"",
"build": "tinacms build && next build",
"start": "tinacms build && next start",
"lint": "next lint"
Expand Down

0 comments on commit ee7f888

Please sign in to comment.