fix :: user error #5
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
name: DAuth | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: yarn install | |
- name: Build project | |
run: yarn run build | |
- name: Configure Git for deployment | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
git remote set-url origin "https://${{ secrets.GITHUB_TOKEN }}@github.com/Team-B1ND/DAuth_Docs.git" | |
env: | |
GIT_USER: "github-actions[bot]" | |
- name: Deploy to GitHub Pages | |
run: yarn run deploy | |
env: | |
GIT_USER: "${{secrets.GIT_USER}}" |