Skip to content

Commit 87e1071

Browse files
fix: changed directory and target branch for more testing
1 parent 361497f commit 87e1071

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/scripts/process-passport-tutorials.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ ! -f "${FEATURES_JSON}" ]; then
1919
fi
2020

2121
# Create _tutorials directory in docs repo
22-
TUTORIALS_DIR="${DOCS_REPO_DIR}/docs/main/example/zkEVM/passport-examples/_tutorials"
22+
TUTORIALS_DIR="${DOCS_REPO_DIR}/docs/main/example/zkEVM/unity/passport-examples/_tutorials"
2323
mkdir -p "${TUTORIALS_DIR}"
2424

2525
# Process null-delimited filenames
@@ -64,7 +64,7 @@ done
6464
JSON_FILE="./_parsed/passport-features.json"
6565
if [ -f "${JSON_FILE}" ]; then
6666
# Create directory for JSON file if it doesn't exist
67-
JSON_DIR="${DOCS_REPO_DIR}/docs/main/example/zkEVM/passport-examples"
67+
JSON_DIR="${DOCS_REPO_DIR}/docs/main/example/zkEVM/unity/passport-examples"
6868
mkdir -p "${JSON_DIR}"
6969

7070
# Copy JSON file

.github/workflows/publish-passport-tutorials.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
repository: immutable/docs
3838
token: ${{ secrets.UNITY_SDK_DOCS_WORKFLOW }}
3939
path: imx-docs
40-
ref: 'DVR-425-unity-sample-app-tutorial'
40+
ref: 'DVR-425-unity-sample-app-tutorial-v2'
4141

4242
- name: Setup environment variables
4343
run: echo "CLONE_DIR=./imx-docs" >> $GITHUB_ENV
@@ -76,7 +76,7 @@ jobs:
7676
git commit -m "$COMMIT_MSG"
7777
7878
# Push to the target branch
79-
git push -u origin DVR-425-unity-sample-app-tutorial
79+
git push -u origin DVR-425-unity-sample-app-tutorial-v2
8080
echo "Successfully pushed Passport tutorial changes to docs repo"
8181
else
8282
echo "No changes to commit"

sample/Assets/Scripts/Passport/Login/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
</div>
66

7-
Passport Login enables users to authenticate with the Immutable Passport service. This feature demonstrates how to implement user authentication in your Unity game using two different authentication methods: PKCE (Proof Key for Code Exchange) and Device Code Auth
7+
Passport Login enables users to authenticate with the Immutable Passport service. This feature demonstrates how to implement user authentication in your Unity game using two different authentication methods: PKCE (Proof Key for Code Exchange) and Device Code Auth.
88

99
<div class="button-component">
1010

0 commit comments

Comments
 (0)