Skip to content

Commit

Permalink
Merge pull request #24 from NovaGaia:feat/15-multi-refs
Browse files Browse the repository at this point in the history
Update package.json scripts and deploy workflow
  • Loading branch information
hrenaud authored Feb 15, 2024
2 parents 1aa08cc + 6012735 commit 65567aa
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"postCreateCommand": {
".nvmrc": "echo $(node --version) > .nvmrc",
".npmrc": "echo package-import-method=clone-or-copy > .npmrc",
"git config --global core.autocrlf true": "git config --global core.autocrlf true",
"prettier": "npm i -g prettier",
},

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: easingthemes/ssh-deploy@v4.0.5
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
ARGS: "-rltgoDzvO --delete"
ARGS: "-avzr --delete"
SOURCE: "dist/"
REMOTE_HOST: ${{ vars.REMOTE_HOST }}
REMOTE_USER: ${{ vars.REMOTE_USER }}
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ pnpm-debug.log*
.env.production

# macOS-specific files
.DS_Store
.DS_Store

_copyFiches
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"scripts": {
"---CI---": "echo nothing to see here",
"ci:build": "tinacms build --local --skip-cloud-checks && astro build",
"---FAST-(DEFAULT-RWEB)---": "echo nothing to see here",
"---FAST-(DEFAULT-RWP)---": "echo nothing to see here",
"start": "npm run dev",
"dev": "npm run dev:local:rweb",
"build": "npm run build:local:rweb",
"preview": "npm run preview:local:rweb",
"dev": "npm run dev:local:rwp",
"build": "npm run build:local:rwp",
"preview": "npm run preview:local:rwp",
"---LOCAL-RWEB---": "echo nothing to see here",
"dev:local:rweb": "env-cmd -e dev,rweb-dev tinacms dev -c \"astro dev\"",
"build:local:rweb": "env-cmd -e dev,rweb-dev tinacms build --local --skip-cloud-checks && env-cmd -e dev,rweb-dev astro build",
Expand Down

0 comments on commit 65567aa

Please sign in to comment.