Deploy to devhints-mirror

This commit is contained in:
Rico Sta. Cruz 2020-06-23 09:01:41 +10:00
parent 1fa97113d5
commit 25070809c1
2 changed files with 18 additions and 2 deletions

View File

@ -62,9 +62,22 @@ jobs:
- run: yarn build
- name: Deploy to gh-pages
- name: "Deploy to gh-pages 🚀"
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _site
- name: "Deploy to mirror 🚀"
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
REPOSITORY_NAME: rstacruz/devhints-mirror
BRANCH: gh-pages
FOLDER: _site
- name: "Notify Slack 📢"
uses: rtCamp/action-slack-notify@v2.0.2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_DEPLOY_WEBHOOK_URL }}

View File

@ -1,9 +1,12 @@
<h1 align='center'>Devhints</h1>
> TL;DR for developer documentation - a ridiculous collection of cheatsheets
<blockquote align='center'>
TL;DR for developer documentation - a ridiculous collection of cheatsheets
</blockquote>
<p align='center'>
<a href='https://travis-ci.org/rstacruz/cheatsheets'><img src='https://travis-ci.org/rstacruz/cheatsheets.svg?branch=master' alt='See test builds'></a>
<a href='https://github.com/rstacruz/cheatsheets/actions?query=workflow%3ADeploy'><img src='https://github.com/rstacruz/cheatsheets/workflows/Deploy/badge.svg' alt='GitHub pages deploy status'></a>
<a href='https://app.netlify.com/sites/devhints-cheatsheets/deploys'><img src='https://api.netlify.com/api/v1/badges/c66b2a8b-5147-4243-9bf6-e2143126f6c8/deploy-status' alt='Netlify deploy status'></a>
</p>