feat: update info again #63
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: MasterDeployCI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Packages | |
run: npm install | |
- name: Deploy to GH Pages | |
run: | | |
git config --global user.email ${{secrets.EMAIL}} | |
git config --global user.name ${{secrets.USERNAME}} | |
git remote set-url origin https://${{secrets.TOKEN}}@github.com/AryPat/${{secrets.PORTFOLIO}}.git | |
npm run deploy |