Skip to content

Commit

Permalink
Removes deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
zorkow committed Oct 30, 2023
1 parent d9c47e7 commit ad08af3
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

0 comments on commit ad08af3

Please sign in to comment.