Merge pull request #456 from beatrizsmerino/dependabot/npm_and_yarn/p… #376
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: Deploy to github pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
gh-pages-deploy: | |
name: Deploying to gh-pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js for use with actions | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14.x | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
- name: Clean install dependencies | |
run: npm install | |
- name: Run deploy script | |
run: | | |
git config user.name "Beatriz Sopeña Merino" && git config user.email "beatrizsmerino@gmail.com" | |
npm run deploy |