Skip to content

fix :: user error

fix :: user error #5

Workflow file for this run

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}}"