Repository navigation
Bump ejs from 3.1.5 to 3.1.10 in /test #36
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: VisualTest(pull close) | |
| on: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| Test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Delete reg | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}} | |
| run: | | |
| num=`echo $GITHUB_REF | sed -r 's/^refs\/pull\/(.?)\/merge/\1/'` | |
| git clone https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} -b gh-pages . | |
| rm -rf $num | |
| - name: Save reg | |
| run: | | |
| git config --global user.name $GITHUB_ACTOR | |
| git config --global user.email ${GITHUB_ACTOR}@git | |
| git add . | |
| git commit -m close | |
| git push origin gh-pages |