Added blog link in home page #53
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
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy | |
# More GitHub Actions for Azure: https://github.com/Azure/actions | |
name: Build and push mui-profile/out to rulyotano.github.io | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Node.js version | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
- name: npm install, build, and test | |
run: | | |
npm install | |
npm run build --if-present | |
npm run test --if-present | |
- name: 'Push to rulyotano.github.io' | |
uses: cpina/github-action-push-to-another-repository@master | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source-directory: 'out' | |
destination-github-username: 'rulyotano' | |
destination-repository-name: 'rulyotano.github.io' | |
user-email: [email protected] | |
commit-message: Push from mui-profile ORIGIN_COMMIT | |
- name: Test get variable exported by push-to-another-repository | |
run: echo $DESTINATION_CLONED_DIRECTORY |