Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node and Actions updates #23

Merged
merged 5 commits into from
Apr 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add acceptance test
GrantBirki committed Apr 4, 2024
commit 43ea1723f2a7effdb1eafe044f8878a999e9c1b9
24 changes: 24 additions & 0 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: acceptance

on:
pull_request:

permissions:
contents: read
pull-requests: write

jobs:
acceptance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# if on pull request
- uses: ./
if: github.event_name == 'pull_request'
with:
file: demo/acceptance.md
vars: |
sha: ${{ github.sha }}
environment: production
app: cool-app
7 changes: 7 additions & 0 deletions demo/acceptance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Acceptance Test

This comment is from the acceptance test. If you are seeing this, it means the acceptance test has passed! 🎉

**{{ app }}** has been successfully deployed to **{{ environment }}**

- SHA: `{{ sha }}`