Merge pull request #290 from XPoet/dev #115
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 | |
on: | |
push: | |
branches: [master] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js v14.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "14.x" | |
- name: Install | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: ./dist | |
github_token: ${{ secrets.GH_PAGES_DEPLOY }} | |
user_name: ${{ secrets.MY_USER_NAME }} | |
user_email: ${{ secrets.MY_USER_EMAIL }} | |
commit_message: Update PicX |