Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 924d34f

Browse filesBrowse files
committed
ci: test ci
1 parent a45a2a6 commit 924d34f
Copy full SHA for 924d34f

File tree

2 files changed

+6
-6
lines changed
Filter options

2 files changed

+6
-6
lines changed

‎.github/actions/deploy/entrypoint.sh

Copy file name to clipboardExpand all lines: .github/actions/deploy/entrypoint.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
set -e
55

6-
if [ -z "$SECRET_TOKEN" ]
6+
if [ -z "$ACCESS_TOKEN" ]
77
then
8-
echo "SECRET_TOKEN is required"
8+
echo "ACCESS_TOKEN is required"
99
exit 1
1010
fi
1111

@@ -41,7 +41,7 @@ git config --global user.name "${COMMIT_NAME}" && \
4141

4242

4343
## Initializes the repository path using the access token.
44-
REPOSITORY_PATH="https://${SECRET_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" && \
44+
REPOSITORY_PATH="https://${ACCESS_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" && \
4545

4646

4747
# Builds the project if a build script is provided.

‎.github/workflows/deploy.yml

Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: deploy
33
on:
44
push:
55
branches:
6-
- master
6+
- develop
77

88
jobs:
99
build-and-deploy:
@@ -17,8 +17,8 @@ jobs:
1717
env:
1818
COMMIT_EMAIL: jeoy_z@126.com
1919
COMMIT_NAME: jeoy
20-
ACCESS_TOKEN: ${{ secrets.SECRET_TOKEN }}
20+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
2121
BASE_BRANCH: master # The branch the action should deploy from.
22-
DEPLOY_BRANCH: gh-pages # The branch the action should deploy to.
22+
# DEPLOY_BRANCH: gh-pages # The branch the action should deploy to.
2323
FOLDER: build # The folder the action should deploy.
2424
BUILD_SCRIPT: yarn && yarn build # The build script the action should run prior to deploying.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.