-
Notifications
You must be signed in to change notification settings - Fork 9
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
1 parent
199ca39
commit 40d7b03
Showing
1 changed file
with
5 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -485,17 +485,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
# Skips the job if the string "[skip ci]" is present in the | ||
# commit message | ||
if: ${{ !contains(github.event.head_commit, '[skip ci]') }} | ||
if: {% raw %}${{ !contains(github.event.head_commit, '[skip ci]') }}{% endraw %} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Deploy to Vercel | ||
uses: BetaHuhn/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | ||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | ||
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %} | ||
VERCEL_TOKEN: {% raw %}${{ secrets.VERCEL_TOKEN }}{% endraw %} | ||
VERCEL_ORG_ID: {% raw %}${{ secrets.VERCEL_ORG_ID }}{% endraw %} | ||
VERCEL_PROJECT_ID: {% raw %}${{ secrets.VERCEL_PROJECT_ID }}{% endraw %} | ||
~~~ | ||
|
||
This workflow is configured to run whenever a `push` trigger is fired on the `master` branch. The workflow then checks out the latest commit on the `master` branch and deploys it to Vercel using another GitHub Action. | ||
|