Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
omariosouto committed Sep 20, 2024
1 parent 998cf2b commit 60df8c2
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI - Continuous Integration

on:
pull_request:
pull_request_target:
types: [opened, synchronize]


Expand All @@ -26,8 +26,20 @@ jobs:
echo $VERCEL_TOKEN
echo "===="
yarn install && yarn build:static
npx vercel ./out --yes --token=$VERCEL_TOKEN
DEPLOY_OUTPUT=$(npx vercel ./out --yes --token=$VERCEL_TOKEN)
echo "$DEPLOY_OUTPUT"
echo "deployed with success!"
echo "deploy_output=$DEPLOY_OUTPUT" >> $GITHUB_OUTPUT
id: deploy_step

- name: Create GitHub PR Comment
uses: marocchino/sticky-pull-request-comment@v2
with:
header: Deployment Output
message: |
Deployment Successful!
${{ steps.deploy_step.outputs.deploy_output }}
lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 60df8c2

Please sign in to comment.