Merge pull request #5 from stadtnavi/iframe #146
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: Continous integration | |
on: | |
push: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build widget.js | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12' | |
- name: Install dependencies | |
run: | | |
npm install -g grunt-cli | |
npm install | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" | |
npm version $(git describe --tags) --no-git-tag-version | |
grunt default | |
- name: Deploy to Github Pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: dist # The folder the action should deploy. | |
CLEAN: false | |