所属学生の学年を修正 #233
Workflow file for this run
This file contains 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 |