diff --git a/.forgejo/workflows/production.yml b/.forgejo/workflows/production.yml index 110f5e8..1dd774e 100644 --- a/.forgejo/workflows/production.yml +++ b/.forgejo/workflows/production.yml @@ -16,14 +16,14 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 18.x - run: yarn install --frozen-lockfile - run: yarn build - run: yarn test - run: yarn lint - name: "Copy files over to location" - run: rsync -rvzP . ${{ secrets.PROD_REPO_PATH }} + run: cp -r . ${{ secrets.PROD_REPO_PATH }} deploy: environment: prod diff --git a/.forgejo/workflows/stage.yml b/.forgejo/workflows/stage.yml index 149a78e..8903a70 100644 --- a/.forgejo/workflows/stage.yml +++ b/.forgejo/workflows/stage.yml @@ -16,14 +16,14 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 18.x - run: yarn install --frozen-lockfile - run: yarn build - run: yarn test - run: yarn lint - name: "Copy files over to location" - run: rsync -rvzP . ${{ secrets.STAGE_REPO_PATH }} + run: cp -r . ${{ secrets.STAGE_REPO_PATH }} deploy: environment: prod