-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
38 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
name: Deploy | ||
on: | ||
push: | ||
branches: | ||
master | ||
branches: master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Notes (read me) ๐" | ||
- name: 'Notes (read me) ๐' | ||
run: | | ||
# About this workflow: | ||
# This workflow generates GitHub pages, but IT IS NOT USED. It is | ||
|
@@ -20,36 +19,35 @@ jobs: | |
persist-credentials: false | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16.14.2' | ||
cache: yarn | ||
node-version: '20.9.0' | ||
|
||
- name: Use Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.7.5' | ||
ruby-version: '3.3.0' | ||
bundler-cache: true | ||
|
||
- run: yarn install --frozen-lockfile | ||
- 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 ๐" | ||
- 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 ๐ข" | ||
- name: 'Notify Slack ๐ข' | ||
uses: rtCamp/[email protected] | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_DEPLOY_WEBHOOK_URL }} |
This file was deleted.
Oops, something went wrong.