add: 202403 thesis #246
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: build | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| - '*/*' | |
| - '*/*/*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 14 | |
| cache: "npm" | |
| - name: install dependecies | |
| run: npm install | |
| - name: convert | |
| run: npm start | |
| - name: Set BRANCH | |
| run: echo "${GITHUB_REF#refs/heads/}" | sed -e 's/\//_/g' -e 's/^/BRANCH=/g' >> $GITHUB_ENV | |
| - name: Set DATE | |
| run: echo "DATE=$(date '+%Y%m%d-%H%M%S')" >> $GITHUB_ENV | |
| - name: Set Reponame | |
| run: echo "$GITHUB_REPOSITORY" | sed -e 's/\//_/g' -e 's/^/REPONAME=/g' >> $GITHUB_ENV | |
| - name: Upload file Product html(docs). | |
| uses: actions/upload-artifact@master | |
| with: | |
| name: ${{ env.REPONAME }}-${{ env.DATE }}-${{ env.BRANCH }} | |
| path: docs |