From 40d7b03b2201910bcca8c1119266cbb5128815cc Mon Sep 17 00:00:00 2001 From: Adam Gordon Bell Date: Wed, 18 Oct 2023 09:11:04 -0400 Subject: [PATCH] fixing raw input --- blog/_posts/2023-10-03-github-action-triggers.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blog/_posts/2023-10-03-github-action-triggers.md b/blog/_posts/2023-10-03-github-action-triggers.md index 61a82a374..aa007f350 100644 --- a/blog/_posts/2023-10-03-github-action-triggers.md +++ b/blog/_posts/2023-10-03-github-action-triggers.md @@ -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/deploy-to-vercel-action@v1.9.12 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.