Skip to content

Commit

Permalink
fixing raw input
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgordonbell committed Oct 18, 2023
1 parent 199ca39 commit 40d7b03
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions blog/_posts/2023-10-03-github-action-triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 40d7b03

Please sign in to comment.