From ad08af3522785eff5ecacd040be43ac98071b6d5 Mon Sep 17 00:00:00 2001 From: zorkow Date: Mon, 30 Oct 2023 22:36:08 +0100 Subject: [PATCH] Removes deploy. --- .github/workflows/node.js.yml | 38 ----------------------------------- 1 file changed, 38 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index d11fd9605..cbb40468d 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -67,41 +67,3 @@ jobs: - name: Run tests for ${{ matrix.block }} run: pnpm run actionTest js/actions/${{ matrix.block }}.test.js - - deploy: - needs: setup - runs-on: ubuntu-latest - name: deploy dev version - steps: - - uses: actions/checkout@v3 - with: - ref: deploy - persist-credentials: false - fetch-depth: 0 - - name: Moving old files - run: | - mv lib lib-old - - name: Downloading the build - uses: actions/download-artifact@v2 - with: - name: sre-library - - name: Get Time - id: time - uses: nanzm/get-time-action@v1.1 - with: - timeZone: 8 - format: 'YYYY-MM-DD-HH-mm-ss' - - name: Commit Deploy - env: - TIME: "${{ steps.time.outputs.time }}" - run: | - git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git add lib/sre.js lib/mathmaps/* - git commit --allow-empty -m 'Deployment at $TIME' -a - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: deploy -