Skip to content

Commit

Permalink
wip-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Oct 15, 2023
1 parent bb9becc commit 344ea55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/next-drupal.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: next-drupal
on:
push:
pull_request_target:
types: [opened, reopened, synchronize]

Expand All @@ -14,7 +15,8 @@ jobs:
- name: Install modules
run: yarn
- name: Run tests
run: yarn test packages/next-drupal
run: |
./test.sh
env:
DRUPAL_BASE_URL: ${{ secrets.DRUPAL_BASE_URL }}
DRUPAL_USERNAME: ${{ secrets.DRUPAL_USERNAME }}
Expand Down
7 changes: 7 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

echo BASE=$DRUPAL_BASE_URL;
echo USER=$DRUPAL_USERNAME;
echo PASS=$DRUPAL_PASSWORD;
echo C_ID=$DRUPAL_CLIENT_ID;
echo C_ST=$DRUPAL_CLIENT_SECRET;

0 comments on commit 344ea55

Please sign in to comment.