Compare commits

...

2 commits

Author SHA1 Message Date
d9d0243c3c Use node 20
All checks were successful
Deploy To Production / build (push) Successful in 39s
Deploy To Production / deploy (push) Successful in 15s
2024-12-10 11:07:55 +00:00
c4abf21013 Use rsync -rvzP 2024-12-10 10:39:24 +00:00
2 changed files with 4 additions and 4 deletions

View file

@ -16,14 +16,14 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 18.x node-version: 20.x
- run: yarn install --frozen-lockfile - run: yarn install --frozen-lockfile
- run: yarn build - run: yarn build
- run: yarn test - run: yarn test
- run: yarn lint - run: yarn lint
- name: "Copy files over to location" - name: "Copy files over to location"
run: cp -r . ${{ secrets.PROD_REPO_PATH }} run: rsync -rvzP . ${{ secrets.PROD_REPO_PATH }}
deploy: deploy:
environment: prod environment: prod

View file

@ -16,14 +16,14 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 18.x node-version: 20.x
- run: yarn install --frozen-lockfile - run: yarn install --frozen-lockfile
- run: yarn build - run: yarn build
- run: yarn test - run: yarn test
- run: yarn lint - run: yarn lint
- name: "Copy files over to location" - name: "Copy files over to location"
run: cp -r . ${{ secrets.STAGE_REPO_PATH }} run: rsync -rvzP . ${{ secrets.STAGE_REPO_PATH }}
deploy: deploy:
environment: prod environment: prod