-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update github actions wangdoc.yml
- Loading branch information
Showing
2 changed files
with
16 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,27 +10,27 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
- name: Setup Node.js | ||
uses: actions/setup-node@main | ||
with: | ||
node-version: '14' | ||
node-version: 'latest' | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Build pages | ||
run: npm run build | ||
- name: Deploy to website | ||
uses: JamesIves/github-pages-deploy-action@3.7.1 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
GIT_CONFIG_NAME: wangdoc-bot | ||
GIT_CONFIG_EMAIL: [email protected] | ||
REPOSITORY_NAME: wangdoc/website | ||
ACCESS_TOKEN: ${{ secrets.WANGDOC_BOT_TOKEN }} | ||
BASE_BRANCH: master | ||
BRANCH: master # The branch the action should deploy to. | ||
FOLDER: dist # The folder the action should deploy. | ||
TARGET_FOLDER: dist/webapi | ||
CLEAN: true # Automatically remove deleted files from the deploy branch | ||
COMMIT_MESSAGE: update from Web API tutorial | ||
git-config-name: wangdoc-bot | ||
git-config-email: [email protected] | ||
repository-name: wangdoc/website | ||
token: ${{ secrets.WANGDOC_BOT_TOKEN }} | ||
branch: master # The branch the action should deploy to. | ||
folder: dist # The folder the action should deploy. | ||
target-folder: dist/typescript | ||
clean: true # Automatically remove deleted files from the deploy branch | ||
commit-message: update from TypeScript tutorial | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters