-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/docs/primer/gatsby-t…
…heme-doctocat-3.3.0
- Loading branch information
Showing
23 changed files
with
85 additions
and
134 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,52 +1,19 @@ | ||
name: Deploy | ||
name: Deploy preview | ||
on: | ||
push: | ||
branches-ignore: | ||
- 'main' | ||
- 'dependabot/**' | ||
paths: | ||
- 'lib/**' | ||
- 'icons/**' | ||
- 'docs/**' | ||
- '.github/workflows/deploy*.yml' | ||
- 'package.json' | ||
jobs: | ||
deploy-preview: | ||
if: ${{ github.repository == 'primer/octicons' }} | ||
name: Preview | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: chrnorm/deployment-action@v1.2.0 | ||
name: Create GitHub deployment | ||
id: deployment | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
environment: Preview | ||
|
||
- name: Vercel Action | ||
uses: amondnet/vercel-action@v20 | ||
id: vercel-action | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
vercel-token: ${{ secrets.VERCEL_TOKEN_SHARED }} | ||
github-comment: false | ||
vercel-org-id: ${{ secrets.VERCEL_ORG_ID_SHARED }} | ||
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | ||
pull_request: | ||
|
||
- name: Update deployment status (success) | ||
if: success() | ||
uses: chrnorm/deployment-status@v1.0.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
environment_url: ${{ steps.vercel-action.outputs.preview-url }} | ||
state: "success" | ||
deployment_id: ${{ steps.deployment.outputs.deployment_id }} | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
- name: Update deployment status (failure) | ||
if: failure() | ||
uses: chrnorm/deployment-status@v1.0.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
state: "failure" | ||
deployment_id: ${{ steps.deployment.outputs.deployment_id }} | ||
jobs: | ||
deploy: | ||
if: ${{ github.repository == 'primer/octicons' }} | ||
name: Build and deploy | ||
uses: primer/.github/.github/workflows/deploy_preview.yml@main | ||
with: | ||
node_version: 14 | ||
install: yarn && cd docs && yarn && cd .. | ||
build: yarn build:docs:preview | ||
output_dir: docs/public |
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,29 +1,27 @@ | ||
name: Deploy | ||
name: Deploy to production | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- main | ||
paths: | ||
- 'lib/**' | ||
- 'icons/**' | ||
- 'docs/**' | ||
- '.github/workflows/deploy*.yml' | ||
- 'package.json' | ||
jobs: | ||
deploy: | ||
if: ${{ github.repository == 'primer/octicons' }} | ||
name: Production | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Vercel Action | ||
uses: amondnet/vercel-action@v20 | ||
id: vercel-action | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
vercel-token: ${{ secrets.VERCEL_TOKEN_SHARED }} | ||
vercel-args: '--prod' | ||
github-comment: false | ||
vercel-org-id: ${{ secrets.VERCEL_ORG_ID_SHARED }} | ||
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build_deploy: | ||
name: Build and deploy | ||
uses: primer/.github/.github/workflows/deploy.yml@main | ||
with: | ||
node_version: 14 | ||
install: yarn && cd docs && yarn && cd .. | ||
build: yarn build:docs | ||
output_dir: docs/public |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 +1,3 @@ | ||
module Octicons | ||
VERSION = "17.0.0".freeze | ||
VERSION = "17.1.0".freeze | ||
end |
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,3 +1,3 @@ | ||
module OcticonsHelper | ||
VERSION = "17.0.0".freeze | ||
VERSION = "17.1.0".freeze | ||
end |
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
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
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
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
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
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