Remove auto deployment to gh-pages (#2127)

This commit is contained in:
Rico Sta. Cruz 2024-03-25 10:36:00 +11:00 committed by GitHub
parent 1c9e012802
commit 021ec16bf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 50 deletions

View File

@ -1,50 +0,0 @@
name: Deploy
on:
push:
branches: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Notes (read me) 📖'
run: |
# About this workflow:
# This workflow generates GitHub pages, but IT IS NOT USED. It is
# only generated as an emergency fallback in case Netlify goes down 😊
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v4
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: yarn install --frozen-lockfile
- run: yarn build
- 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 }}