Skip to content

Commit

Permalink
test deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
arcuo committed May 11, 2023
1 parent 98a90c8 commit 4dc4352
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 16.*
cache: "yarn"
cache-dependency-path: "./yarn.lock"
cache: 'yarn'
cache-dependency-path: './yarn.lock'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build
Expand All @@ -25,11 +25,9 @@ jobs:
run: |
git config --global user.name $user_name
git config --global user.email $user_email
git remote set-url origin https://${github_token}@github.com/${repository}
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/${{github.repository}}
env:
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
- name: Deploy
run: yarn gh-pages --dist "./build" --dest "${GITHUB_REF##*/}/ui"
env:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4dc4352

Please sign in to comment.